Transactional Email – API, Templates, and Examples

Transactional emails are email messages that businesses need to send to facilitate a transaction, product or service requested by the customer. A transactional email is sent when an API request is made from a website or an application, based on customer interaction. A transactional email typically contains customer or transaction specific content as part of the email message. Some of the examples of transactional emails are password resets, purchase or signup confirmations, and receipts.

Transactional Email Examples

Here are various examples of transactional email types:

  1. Order confirmation is the most common transactional email type. It typically inform customers about the details of a transaction, product or service purchase, as well as shipment or delivery information.
  2. Shipping notification lets customers know when their purchase has been processed and is on its way. It typically includes tracking information and/or link to let a customer know when to expect a delivery. These type of emails help automate customer service and reduce customer inquiries via phone or email.
  3. Delivery confirmation often includes detail about the delivery, for example exact time of the delivery, and helps manage customer expectations and experiences.
  4. Double opt-in or signup confirmation emails give customer an opportunity to take explicit action of staying on someone’s list or getting themselves removed, for example in case of a wrong email being provided by someone.
  5. Password reset emails allow your customers to continue access to your product. These emails are typically very simple, but have prominent branding and clear instructions on the required action.
  6. Invoice emails are transactional messages that informs customers of a payment that is due.

Transactional Email API

Most email service providers allow passing the entire email body as a part of the API call and many, like BigMailer, also allow you to send parameters to be inserted into a pre-defined email template that is stored on the provider platform rather then stored as part of the application that makes the API calls. Not storing the email template inside the application code allows easy and quick edits to be made by a marketer, without a need to update application code by a developer, allowing an ongoing optimization and easy review.

How to Setup a Transactional Email Campaign in BigMailerCreate a transactional campaign by clicking on “Create New” button on the campaigns dashboard page, then select Transactional Campaign on next screen.

Campaign types in BigMailer
  1. Choose what list to add customers to when a transactional email is triggered. For example, you can create a list named “Paid Subscribers” you can later on exclude from a bigger list like “Newsletter Subscribers” when sending promotional (aka bulk) emails with a call to action.
  2. Create a template and customize your message with merge tags. Your template in BigMailer can be more like a wrapper, with entire message body passed in as an HTML block, or you can pass just some data points to insert into a template like invoice, receipt, or transaction confirmation.
  3. Trigger an email from your application by calling BigMailer API and passing custom data points. Please refer to our API documentation for more info and to see API call examples.

Transactional Email Templates

Transactional email templates can be very simple text-like or fully designed and branded templates, for example hotel booking confirmations. Here are some examples of transactional email templates you can find in BigMailer library:

Account Activation Email
Password Reset
Abandoned Cart
Invoice Email