About email in ERPNext ​

ERPNext can send and receive email. You can email a document to a customer from the document, receive replies in the document's timeline, and let ERPNext send notifications and reports by email.

Email accounts and email domains ​

ERPNext connects to your mail server through an email account. An email account has two sides:

  • Outgoing: ERPNext sends email through the account's SMTP server (Simple Mail Transfer Protocol, the protocol that sends mail).
  • Incoming: ERPNext reads email from the account's mailbox through IMAP or POP3 (the protocols that read mail).

An email domain stores the server settings for all addresses of one domain, for example yourcompany.com. When you create an email account on that domain, ERPNext copies the server settings from the email domain. For Gmail, Outlook.com, Yahoo Mail, SendGrid, SparkPost, Yandex.Mail, and Frappe Mail, you select a Service instead and need no email domain.

If you use Frappe Cloud, ERPNext has a default outgoing account. You can still add your own.

Default accounts ​

  • The Default Outgoing account sends notifications, reports, and other system email.
  • The Default Incoming account receives replies. ERPNext puts its address in the Reply-To header of the email that it sends.

How replies reach the right document ​

When you send an email from a document, ERPNext records the email as a Communication in the document's timeline. When the customer replies, the reply arrives at the incoming account. ERPNext matches the reply to the first email and adds it to the same timeline.

ERPNext can also create documents from incoming email. For example, it can make an Issue for each email that reaches support@yourcompany.com.

Personal inboxes ​

Each user can also read their own mailbox in ERPNext through the email inbox.

Set up email ​

  1. Set up an email domain, unless you use a listed service.
  2. Set up an email account.
  3. Send email from a document.
  4. Optional: create email templates and link emails to documents.