Screenshot 2023-10-25 at 10.48.41 PM.png
Sending Transaction Email for ERPNext
Best practices for sending Transaction email with your ERPNext account.


Rushabh Mehta


Sep, 26 2016



min read

Business emails that are sent as reminder, invoices, updates are classified as transaction email. This is different from personal emails, that you type individually, and marketing emails, that are updates (newsletters) sent to your entire lead database with the goal of inducing more business. Customers love transaction email (unlike marketing email) is because it is useful information. Additional Email alerts, notifications, reminders that your send to your team also get classified as transaction email.

Transaction email can scale up pretty fast and if you are using an ERP system, like ERPNext, it soon becomes the communication lifeline with your customers. Due to its high volume and "automated" nature of the email, most personal email providers like GMail do not like if you use their servers to send these emails and will soon start to block such requests.

Unlike your personal emails, transaction emails are generated from the ERPNext server and this means that services like GMail automatically do not trust it. Unfortunately many people use these services to send SPAM mail and the distrust of letting other servers send email is not misplaced. They make it hard for you to send such emails (like making to enable less secure apps).

Specialized Sending Services

The standard practice to send transaction email is to use a third party SMTP Relay service. Let me explain this in English. Emails are sent and received through separate systems. The sending system is called SMTP (Simple Mail Transfer Protocol) and emails received by either POP or IMAP. When dealing with transaction email, we are concerned with sending, so we need to find a service that will allow us to send emails, hence it is called an SMTP Relay service.

There are many such services you can sign up for and they have all kinds of pricing and generous free plans too. Some of them include:

  1. Sparkpost
  2. SendGrid
  3. Amazon SES
  4. MailGun

How Does This Work?

To send mail using any of these services, you have to sign-up and verify your domain. Once you do this, you can use their SMTP credentials in your ERPNext account and ERPNext will send those emails via your SMTP account.

These services will closely monitor your reputation and if you send mails that users will start marking as spam, they will shut down your service. Don't worry, they are not so harsh and if you are not sending a newsletter every other day, you will be fine! has Built-in Email Service

If you are using ERPNext on the cloud, don't worry we have this covered for you. If you do not setup any default outgoing, then ERPNext will send you emails using its own SMTP Relay (which is through SparkPost).

You can learn more about the plan here:

Hope this was useful and if you have any questions, please feel free to post them here.

Published by

Rushabh Mehta


Sep, 26 2016


Add your comment




Alize Swaniawski


July 22, 2020

The individuals who are facing problems while sending transaction emails for the ERPNext would find plenty of useful practices in this article. By taking help from these practices, I have sorted out all problems.



Paul Mugambi


3 days


Beautiful read, and an insight into an individual I respect and have learned a lot from. Am inspired to trust the process and never give up.


Anna Dane


5 days


I must say this is a really amazing post, and for some of my friends who provide Best British Assignment Help, I must recommend this post to them.

Add your comment