Skip to content

MrEx3cut0r/MailWay

Repository files navigation

MailFlow ✉️

Simple Email API for Developers Features

Quick Setup - Integrate in 5 minutes, not 8 hours

Auto DKIM/SPF - No manual DNS configuration required

Multi-Provider - Automatic failover between SES, SendGrid, and your SMTP

Local Testing - Built-in SMTP server for development

Simple API - One function for everything

Free Tier - 10,000 emails/month forever

How It Works

Your app calls MailFlow API

We handle queueing, retries, and failover

Multiple providers ensure 99.9% deliverability

Real-time analytics and webhooks

Pricing

Free: 5,000 emails/month

Startup: $9/month - 100,000 emails

Growth: $49/month - 1,000,000 emails

How to use?

At first, you have to create your account.

curl -X https://mailway.com/api/users/register
    -H "Content-Type: application/json" \
    -d '{
        "username": "Gumar",
        "password": "Somepassword2134123"
    }'

Then get your access token:

curl -X https://mailway.com/api/users/login
    -H "Content-Type: application/json" \
    -d '{
        "username": "Gumar",
        "password": "Somepassword2134123"
    }'

You will get a JSON like this:

{"data":{"created_at":"2026-01-05T12:21:57.240362177Z","expires_at":"2026-01-06T12:21:57.240362104Z","token":"ARandomTokeJWTTokennassdfasdfs8e8i8","username":"creator"},"message":"token generated"}

You need to save field 'token' somewhere, for example you can save it in .env file of your project

Now, you finally able to send a letter to somebody. Let`s do it!

curl -X POST http://localhost/api/mail/send \
  -H "Authorization: Bearer $JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "sender": "legendary.killtell@gmail.com",
    "recipient": "legendary.killtell@gmail.com",
    "description": "Test",
    "text": "Hello World"
  }'

Check your email, and you`ll see a letter like this:
Screenshot from 2026-01-05 15-26-18
easy, isnt it?

About

Mail API for easy&fast developing

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published