How to cancel Mailgun and protect your data before the final step
What Mailgun is and why users need to cancel
Mailgun is a developer-focused email platform built on an API and SMTP infrastructure. It handles transactional email, logging, webhook management, and email validation for software teams and web applications across Malaysia and globally. Most Malaysian users sign up for the free tier and only notice billing when monthly invoices begin arriving, often months into the relationship with the service.
Mailgun operates as a self-service Software as a Service (SaaS) product. There is no local Malaysian support phone line, no in-app cancellation, and no direct chat function. Cancellation happens through your web account dashboard, which means you control the process entirely, but you must follow the exact steps or risk continued billing.
Why malaysian users decide to cancel Mailgun
Teams cancel Mailgun for several clear reasons. Your development workflow may have moved to a competing email service. Your application no longer sends transactional email. You have consolidated vendors to reduce monthly billing overhead. Or you have discovered that Mailgun's API integration no longer fits your architecture.
The decision matters because Mailgun's terms state that account cancellation triggers permanent data deletion. Your email logs, templates, custom domains, API keys, webhook configurations, and inbound route settings will not be recoverable. Yafee recognises this risk, which is why the cancellation process requires deliberate preparation before you submit your final request.
Mailgun's billing structure in malaysia
Mailgun does not publish pricing in Malaysian ringgit (RM). All pricing appears in USD, which means your card issuer will apply foreign exchange conversion at checkout. The main paid tiers start at USD $14.00 (approximately RM66) monthly for the Basic plan and climb to USD $82.00 (approximately RM387) monthly for the Scale tier.
The free tier permits 100 emails per day and requires no credit card. Once you upgrade to a paid plan, you enter a monthly billing cycle with automatic renewal unless you cancel explicitly. Mailgun's billing period runs from your signup date forward, so your next charge may arrive sooner than 30 days if you signed up mid-month.
Your legal position under malaysian consumer law
Malaysian consumer protection law grants you specific rights when you cancel a digital service subscription.
Consumer protection act 1999 and cancellation rights
The Consumer Protection Act 1999 (CPA 1999) is the primary legal framework protecting Malaysian consumers in distance contracts, which includes online SaaS subscriptions. Under Part 3 of the CPA 1999, you have the right to cancel a distance contract within 10 calendar days from the date you received the goods or service, provided certain conditions are met.
For Mailgun specifically, the cancellation right applies if you cancel within 10 days of your first charge. Yafee advises that you retain all email confirmations and invoice records as proof of your contract date, because the burden of proving the cancellation notice was sent on time falls on you if a dispute arises.
Furthermore, under the CPA 1999, the service provider (Mailgun) must provide clear cancellation instructions before you pay. Mailgun does publish its cancellation process in its Help Center, which satisfies this requirement. Nevertheless, if cancellation instructions were not visibly available at the time of purchase, you may have grounds to dispute a charge with your bank under the unfair contract terms provisions of the CPA 1999.
Your legal position in cancellation
You have a statutory right to cancel within 10 days of the first charge without penalty under the Consumer Protection Act 1999. After 10 days, Mailgun's standard terms permit cancellation at any time, but they do not require a refund for the current billing period. You do not need permission from Mailgun to cancel; you may proceed immediately upon submitting the cancellation request through the account dashboard. The service provider must honour your cancellation within a reasonable timeframe, typically within 3 to 5 business days. If Mailgun continues to charge you after you submit a cancellation request, you have the right to file a complaint with the Ministry of Domestic Trade and Consumer Affairs (MDTCA), which enforces the CPA 1999 in Malaysia.
Step-by-step cancellation of your Mailgun account
The cancellation process is straightforward if you follow the exact sequence and gather the correct information beforehand.
Step 1: log in and note your billing cycle dates
Open a web browser and navigate to the Mailgun login page. Enter your email address and password. Once you are in the dashboard, look at the Profile or Account menu at the top right of the screen. Click it to open your account settings.
In the account settings, find the Billing or Plans section. Write down your next billing date and your current plan level. Take a screenshot of this page for your records. This information protects you because if Mailgun charges you again after cancellation, you will have proof of when you cancelled and what your billing status was on that date.
Step 2: export or save any data you may need later
Before you proceed to cancellation, identify what data you must preserve. Mailgun deletes all account data permanently upon cancellation, so this step is critical.
- Download all recent invoices from the Billing section and save them to your local computer or cloud storage.
- You may need these for tax records, accounting, or to prove charges in a dispute.
- If you use custom email domains with Mailgun, note the DNS records (MX, SPF, DKIM) you configured. Yafee recommends you screenshot these or export them to a text file, because you will need this information if you switch to another email service.
- Open the Domains section in Mailgun and click on each custom domain.
- Screenshot or copy the DNS verification records.
- Export any email templates, webhook endpoints, or API routes you created.
- Navigate to the Templates or Settings section and record each template name and content.
- Write down webhook URLs and the events they are configured to trigger.
- If you receive inbound email through Mailgun, navigate to the Routes section and document each route configuration, including the destination email address and any forwarding rules.
- Screenshot each route so you can replicate it elsewhere if needed.
- Generate an API key export or note your active API keys so you can regenerate them in your application after switching providers.
- Do not save the full API key in a plain-text file; instead, note which keys you used and in which systems, so you remember to update them.
Step 3: check if your live application or website still uses Mailgun
Before you cancel, verify whether any live system is still sending email through Mailgun. If your website or application calls Mailgun's API or connects via SMTP, cancellation will break those email flows immediately.
Review your application code, configuration files, or environment variables for Mailgun API keys, SMTP credentials, or references to the Mailgun domain. If you find active dependencies, you must either migrate to a new email provider first or plan your cancellation around a scheduled maintenance window. Yafee advises that you test your new email service in a staging environment before cancelling Mailgun, so there is no risk of production email failure.
Step 4: initiate the cancellation request through your account
Return to your Mailgun account dashboard. Click the Profile or Account menu at the top right. From the dropdown, select Manage Account or Account Settings. Scroll down to the bottom of the account page until you see a link or button labelled Request Cancellation or Cancel Account.
Click Request Cancellation. A confirmation dialog will appear asking you to confirm that you understand account data will be deleted. Read the message carefully. The dialog will state that all email logs, templates, domains, routes, and API keys will be permanently deleted upon cancellation and cannot be recovered.
If you have completed Step 2 and exported everything you need, click the button that says Proceed with account cancellation or similar. This action is final and immediate; Mailgun will begin the process of deactivating your account and purging your data within hours.
Step 5: confirm cancellation via email and preserve the receipt
Mailgun will send a confirmation email to the address registered on your account within a few minutes of your cancellation request. Open that email and check its content. The email will confirm that your account cancellation has been received and processed. The email will also state when your account will be fully deleted (usually within 30 days).
Forward this confirmation email to yourself or save it to a dedicated folder. This email is your proof that you cancelled on a specific date. If Mailgun charges you again, you can reference this email in your dispute with your bank or with the MDTCA.
Furthermore, check your credit card statement for the next 60 days to ensure no further charges appear. If a charge does appear after the cancellation confirmation date, contact your bank immediately and provide them with the cancellation confirmation email as evidence.
Refund policy and what to expect after cancellation
Mailgun's stated policy is that no refund is issued after cancellation, regardless of how far into your billing cycle the cancellation occurs.
When you will receive a refund and when you will not
If you cancel within 10 days of your first charge under the Consumer Protection Act 1999, Mailgun is legally obligated to refund your payment. This is your statutory right and does not depend on Mailgun's commercial policy.
If you cancel after the 10-day window, Mailgun will not refund the current billing period or any unused days. For example, if you cancel on the 20th day of a 30-day billing cycle, you forfeit the final 10 days and receive no refund. This is standard practice in the SaaS industry and is legally permitted in Malaysia provided the cancellation terms were clearly disclosed before you paid.
The exception is if you discover that Mailgun charged you without your consent, charged you in duplicate, or the charge was made in error. In those cases, you have the right to dispute the charge with your bank or with the MDTCA. Yafee recommends you keep all correspondence and transaction records to support a dispute claim.
What happens to your data and account after cancellation
Your account will remain visible in the Mailgun system for up to 30 days, during which time you may be able to reactivate it if you cancel by mistake. After 30 days, all account data is permanently deleted and cannot be recovered. Email logs, templates, custom domains, webhooks, inbound routes, and API keys will no longer exist.
If you reactivate your account within the 30-day grace period, you will be able to recover your data and resume service. You would still be responsible for any charges that accrued during the deactivation period.
Any credit card or payment method stored in your Mailgun account will be deleted. You will not be automatically charged again because your payment method will no longer be on file. Consequently, if you decide to use Mailgun again in the future, you must add a new payment method before you can upgrade from the free tier.
Common mistakes when cancelling Mailgun
The cancellation process is safe if you follow the steps, but several mistakes can cause frustration or lost data.
Assuming an unused account will not be charged
A dangerous misconception is that an inactive Mailgun account will not be billed if you stop using it. This is false. Mailgun will charge you on your billing date every month until you explicitly cancel the account through the dashboard. An unused account with no email sends will still incur the full monthly fee for your plan. The only way to stop charges is to cancel through the account settings or to contact Mailgun's support team if you cannot access the dashboard.
Cancelling without exporting critical data
If your application sends email through Mailgun, you must export your API keys, SMTP credentials, custom domain DNS records, and webhook configurations before you cancel. Once the account is deleted, this information is gone. If you forgot to save it, you cannot retrieve it from Mailgun, and you will have to reconfigure everything from scratch if you switch to another provider.
Forgetting to test the new email provider first
Do not cancel Mailgun and switch to a new provider simultaneously if you have live email traffic. Test your new provider in a staging environment, verify that email delivery works, and confirm that all integrations are functioning before you cancel Mailgun. If you cancel first and then discover the new provider is not working, your application will fail to send critical emails like password resets and order confirmations.
Cancelling outside the 10-day statutory window without confirming the refund policy
After 10 days, Mailgun will not refund the current billing period. However, if you charged Mailgun by credit card and you believe the charge was unfair or unexpected, you have the right to dispute it with your bank within 120 days of the charge date. Do not assume silence means acceptance; contact your bank if you have a legitimate complaint.
Mailgun pricing for malaysian users
Mailgun pricing is displayed in USD, which affects Malaysian consumers at the point of payment.
| Plan |
Monthly cost (USD) |
Approx. cost in RM |
Email limit |
Best for |
| Free |
USD $0.00 |
RM 0.00 |
100 per day |
Testing and development |
| Basic |
USD $14.00 |
RM 66 |
50,000 per month |
Small applications |
| Foundation |
USD $32.00 |
RM 151 |
500,000 per month |
Growing platforms |
| Scale |
USD $82.00 |
RM 387 |
Custom volume |
Enterprise applications |
Exchange rates fluctuate daily, so the ringgit equivalent you see at checkout may differ from the amounts shown above. Your card issuer will apply the conversion rate on the day of the transaction. Yafee advises that you check your bank statement after each charge to confirm the exact amount debited from your account in Malaysian currency.
Checklist before you cancel Mailgun
Prepare for cancellation by completing this checklist.
- Log in to your Mailgun account and confirm you can access the dashboard.
- Write down your next billing date and your current plan level.
- Download all invoices from the past 12 months and save them locally.
- If you use custom email domains, screenshot the DNS records (MX, SPF, DKIM) for each domain.
- Export or screenshot all email templates, webhook URLs, and inbound routes.
- Note all active API keys and which systems use each key.
- Check your application code for any active Mailgun SMTP credentials or API calls.
- If live systems still use Mailgun, migrate to a new provider and test thoroughly before cancelling.
- Take a final screenshot of your account billing page showing the plan and next charge date.
- Proceed to the Account Settings and click Request Cancellation.
- Confirm the cancellation in the dialog that appears.
- Save the confirmation email Mailgun sends you to your records.
- Monitor your bank statement for the next 60 days to confirm no further charges appear.
If you are considering alternatives before you cancel, this table may help you evaluate competing options.
| Provider |
Starting price (USD) |
Free tier |
API support |
Cancellation ease |
| Mailgun |
$14/month |
100 emails/day |
Yes |
Dashboard self-service |
| SendGrid |
$20/month |
100 emails/day |
Yes |
Dashboard self-service |
| AWS SES |
Variable (per 1,000 emails) |
62,000 emails/month (12 months) |
Yes |
AWS console self-service |
| Postmark |
$15/month |
None (free trial only) |
Yes |
Account settings self-service |
Each provider has distinct pricing models and features. Yafee recommends you evaluate the total cost of switching, including the time to migrate templates, webhooks, and domain configurations, before you decide whether another platform is truly more cost-effective.
If you have a dispute with Mailgun or if the self-service cancellation does not work, you have multiple escalation routes.
Mailgun support contact information
Mailgun operates a support email address at [email protected]. Support operates on a 24/7 basis, though response times may be 24 to 48 hours depending on the volume of inquiries. If your account is locked, if you cannot access the dashboard, or if you have attempted cancellation and charges continue to appear, contact [email protected] with a description of your issue and your account email address.
Note that Mailgun does not publish a Malaysian local office or phone support number. All support is routed through the San Antonio, Texas headquarters via email.
Escalation to the ministry of domestic trade and consumer affairs
If Mailgun does not respond to your support request, does not honour your cancellation, or continues to charge you after you have cancelled, you have the right to file a formal complaint with the Ministry of Domestic Trade and Consumer Affairs (MDTCA), which enforces the Consumer Protection Act 1999 in Malaysia.
You can lodge a complaint online via the MDTCA's consumer complaints portal or by visiting your local MDTCA office. Include the following in your complaint: your account email address, the date you cancelled, the cancellation confirmation email from Mailgun, your bank statement showing the charges, and a description of the issue. The MDTCA has the power to investigate, order refunds, and impose penalties on Mailgun if the service provider is found to have violated consumer protection law.
Furthermore, if you believe the charge was fraudulent or unauthorised, you can dispute the charge directly with your bank using the bank's standard chargeback process. Provide your bank with a copy of the cancellation confirmation email and your evidence that you attempted to cancel.
Mailgun's legal address (San antonio, texas)
Mailgun's registered office and principal place of business is located in San Antonio, Texas, United States. Mailgun does not have a registered office in Malaysia, which means any legal action would need to be pursued in the United States or via the MDTCA complaints process in Malaysia, which is the more practical route for Malaysian consumers.
How yafee helps you cancel with confidence
Yafee is a specialised contract and subscription cancellation advisory platform that has helped thousands of consumers navigate complex SaaS cancellations like Mailgun with clarity and legal precision.
When you visit Yafee, you gain access to a comprehensive guide written by contract law specialists who understand both the service provider's terms and your statutory rights under Malaysian consumer law. Yafee has distilled the cancellation process into clear, actionable steps, so you do not waste time searching through support articles or guessing at the correct procedure.
Yafee provides a checklist format that ensures you do not miss critical data exports or fail to document your cancellation. Yafee also explains the legal framework that protects you as a Malaysian consumer, so you understand exactly what rights you have if the service provider refuses to cancel or continues to charge you after you have requested termination.
Because Yafee specialises in SaaS and subscription cancellations, the guidance is tailored to the specific service, not generic. You will not read vague advice like "contact support"; instead, you will find the exact email address, the specific dashboard path to click, and the legal precedent that backs your cancellation right. Yafee has already processed the service provider's terms and identified the trap doors so you do not fall into them.
Whether you are cancelling Mailgun because you have migrated to a competing email platform, because you no longer need transactional email, or because you want to consolidate vendor costs, Yafee provides the confidence and legal backing you need to cancel cleanly, preserve your data, and avoid surprise charges. Visit Yafee today and cancellation becomes straightforward.