Skip to content

Incoming email APIs

James McKinney edited this page Aug 8, 2013 · 40 revisions

All the following services deliver incoming email to your app via an HTTP POST web hook.

Documentation Cloudmailin Mailgun Mandrill Postmark Sendgrid
POST data Sample Sample Sample Sample Sample
Cost per email free (200/mo)
¢0.30 ($9/mo)
¢0.57 ($17/mo)
¢0.25 ($25/mo)
¢0.225 ($45/mo)
¢0.2125 ($85/mo)
¢0.20 ($200/mo)
free (200/day)
¢0.10 ($19/mo)
¢0.05 ($59/mo)
¢0.04 ($199/mo)
free (12k/mo)
¢0.025 ($9.95/mo)
¢0.090 (>40k)
¢0.065 (>140k)
¢0.045 (>340k)
¢0.040 (>1.34M)
¢0.15
¢0.05 (>500k)
free (200/day)
¢0.085 ($79.95/mo)
¢0.050 ($199.95/mo)
¢0.045 ($399.95/mo)
Pricing summary Most expensive per email Most features Most free emails No monthly minimum Most expensive starting plan
Custom domains MX record MX record MX record MX record MX record
Message size limit
  • 100KB
  • 500KB
  • 500KB
  • 2MB
  • 10MB
  • 50MB
  • 50MB
25MB 25MB‡ 10MB 20MB
Recipients limit 20
Bounces N/A webhook, API webhook, API webhook, API webhook, API
Retry if 5XX HTTP code or unreachable non-200 HTTP code non-200 HTTP code non-200 HTTP code non-200 HTTP code
# retries 8 hours 10 3 days
Retry interval 5 min. to 4 hours 1 min. to 6 hours
Fail if 4XX HTTP code 404 or 406 code
Dedicated IP $59/mo plan $29.95/mo N $79.95/mo plan
Strip quoted text Y Y N N N
Parse attachments Y Y Y Y Y
SPF Y Y Y Y Y
DKIM N Y Y Y Y
SpamAssassin N Y Y Y Y
Heroku add-on Y Y Y Y Y
Attachment whitelist N N N Y N
Upload attachments to Amazon S3 Y N N N N
Additional documentation Email forwarding Manual, FAQ Email forwarding, FAQ

The $17/mo "Micro Plus" Cloudmailin plan is the same as the $9/mo "Micro" plan, plus custom domains and S3 attachments. The 25MB is after Base64 encoding, so the binary size is under 20MB.

Additional information:

  • Google Apps will perform spam filtering before forwarding email.
  • You must send or receive over 12,000 emails per month for Postmark to be more expensive than the cheapest Mailgun plan.

If you prefer not to use a third-party API to route incoming email, you can do it yourself:

The following services do not offer an incoming mail webhook:

Clone this wiki locally