Mailgun

API

Email API and SMTP service for sending, receiving and validating email

Price
Free tier, then paid
Access
API key

About

Email service from Sinch for sending, inbound routing and address validation over a REST API or SMTP. Sending domains live in a US or an EU region, and message data stays in its region. The free plan sends 100 emails a day.

What you can do with it

  • Send transactional and batch email through the REST API or SMTP
  • Route inbound email to your app as a parsed HTTP POST
  • Validate email addresses before you send to them

Get started

  1. Create an API key
  2. Add and verify a sending domain (or use the sandbox domain)

Example

curl --user "api:$MAILGUN_API_KEY" \
  "https://api.mailgun.net/v3/$MAILGUN_DOMAIN/messages" \
  -F from="Test <postmaster@$MAILGUN_DOMAIN>" \
  -F to='your-email@example.com' \
  -F subject='Hello!' \
  -F text='Test message'

Details

Hosting
Hosted service
Available in
Worldwide
Official SDKs
Go, JavaScript/TypeScript, PHP, Java, Ruby, Python
MCP server
Local

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .