Need advice about which tool to choose?Ask the StackShare community!
Mailgun vs Nodemailer: What are the differences?
Developers describe Mailgun as "The Email Service for Developers". Mailgun is a set of powerful APIs that allow you to send, receive, track and store email effortlessly. On the other hand, Nodemailer is detailed as "A module for Node.js applications to allow email sending". It is a single module with zero dependencies – code is easily auditable. The email delivery is Secure using TLS/STARTTLS. You can use HTML content, as well as plain text alternative.
Mailgun and Nodemailer can be categorized as "Transactional Email" tools.
reddit, Slack, and Lyft are some of the popular companies that use Mailgun, whereas Nodemailer is used by OVLMBP Inc, KOACHR, and Yooniks co. ltd.. Mailgun has a broader approval, being mentioned in 1746 company stacks & 1177 developers stacks; compared to Nodemailer, which is listed in 4 company stacks and 9 developer stacks.
For transactional emails, notifications, reminders, etc, I want to make it so writers/designers can set up the emails and maintain them, and then dynamically insert fields, that I then replace when actually sending the mail from code.
I think the ability to use a basic layout template across individual email templates would make things a lot easier (think header, footer, standard typography, etc).
What is best for this? Why would you prefer Mailgun, SendGrid, Mandrill or something else?
The only transactional email service that I've been able to stomach is Postmark! It is by far the easiest (and quickest to get feedback from) service that I have come across. While drowning in attempts to debug Mandril, Mailgun and others I get quick feedback from Postmark in what I need to do.
Postmark for the win!
If you need your emails to be sent in a time-sensitive manner, I'd recommend SendGrid. We were using Mailgun and the lag because they aren't "transactional" in nature caused issues for us. SendGrid also has the ability to do dynamic templates and bulk send from their API. I don't know that they have the shared layout ability you mentioned, though.
We are using more extensively Mandrill.
It is a ok tool, which gives you the power for emailing with nice set of features.
The templates editing and management is a bit tricky, but this is mostly related to email templates in general, which are hard to create and maintain.
I do not think you can share the parts of the templates. You can have your predefined templates with possibility to insert dynamic content.
They provide a limited possibility to preview and test your templates.
The template editor is text only. For the better editors checkout http://topol.io or https://mosaico.io
Unfortunately, I do not have experience with the other tools and possibilities to manage templates.
At this stage, all of the tools you mentioned do email delivery pretty well. They all support email templates as well. Here are some considerations:
- Twilio owns SendGrid. If you're an existing Twilio customer, in my opinion that's a good reason to use SendGrid over the other solutions. The APIs are solid, and Twilio has excellent developer tools that allow you to create interesting automations (which is important for scaling).
- Mandrill was created by MailChimp, who have massive experience with email delivery and specifically with emailing beautiful email templates.
- Mailgun is a tool on its own. Like the other two, it supports mail templates and is built to be controlled almost exclusively via APIs.
SendGrid and Mandrill have pretty nice WYSIWIG template editors as part of their platform. Not so sure about Mailgun.
So for me the considerations would be: 1. How easy is it for you to integrate with their API? How complete is their API in terms of your own specific needs? 2. Prices: Which one works best for my budget? 3. Am I OK with editing the templates elsewhere (or even by hand), and then pasting the code into Mailgun? Or do I want the comfort of Mandrill or Sendgrid with their WYSIWYG editors?
Personally I'd go with Twilio, simply because it's such a massive ecosystem they are less likely to go bankrupt, and their APIs are rock solid.
While building our authentication system, we originally picked Mailgun. However, emails took minutes to arrive and some of them didn't get delivered - or got delivered to spam.
We started looking for a new provider, and settled on Postmark. We love that they track time-to-inbox, it makes me feel they really care about going above and beyond to provide a good service.
Pros of Mailgun
- Quick email integration178
- Free plan148
- Easy setup91
- Ridiculously reliable67
- Extensive apis53
- Great for parsing inbound emails30
- Nice UI25
- Developer-centric22
- Excellent customer support15
- Heroku Add-on12
- Easy to view logs of sent emails4
- Email mailbox management for developers4
- Great PHP library2
- Great documentation2
- Great customer support, love rackspace2
- Better than sendgrid not ask too many question1
Pros of Nodemailer
Sign up to add or upvote prosMake informed product decisions
Cons of Mailgun
- Cost2
- No HTTPS tracking links supported2
- Emails go to spam due to blacklisted IP's of mailgun1
- Cannot create multiple api keys1