Skip to main content

HTTP β†’ SMTP relay

Your SMTP, unblocked.

Serverless platforms can't open SMTP connections. 2SMTP turns the SMTP account you already have into a single HTTPS endpoint β€” one POST, and your provider delivers.

No card required Β· $5 per 10,000 after Β· credits never expire

POST /api_fe/send_email_fe
$ curl -X POST https://2smtp.com/api_fe/send_email_fe \
  -H "X-API-Key: rk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "to_chirho": ["user@example.com"],
    "subject_chirho": "Hello!",
    "body_text_chirho": "Sent from a Worker."
  }'

HTTP/2 200

{ "success_chirho": true, "recipients_chirho": 1, "credits_remaining_chirho": 49 }

Your first 50 sends are on us.

From blocked port to delivered mail

Three steps, about five minutes.

  1. 01

    Connect your SMTP

    Add your provider's credentials β€” we encrypt them with AES-256-GCM and hand you an API key.

  2. 02

    POST your email

    One JSON request from your worker, edge function, or cron job.

  3. 03

    Your provider delivers

    We relay the message to your own SMTP server, so deliverability and replies stay with your domain.

Built for the way you already send

A relay, not a replacement β€” your provider, your domain, your reputation.

Works where SMTP is blocked

Cloudflare Workers, Vercel Edge, Deno Deploy β€” if it can make an HTTPS request, it can now send email.

Keep your provider

Gmail, Mailgun, SES, or any SMTP server. Your sending domain and reputation stay exactly where they are.

One endpoint, any language

POST JSON, get JSON back. Nothing to install, no SDK to learn.

Credits, not subscriptions

$5 for 10,000 sends. No monthly fee, no minimum, and credits never expire.

Your mail stays yours

Message bodies are never stored. Your history keeps only a recipient count and a subject hash.

Reputation protection built in

Per-key limits (50/minute) pace your sending so your SMTP account stays off blocklists.

Start free. Top up when you need to.

No subscriptions β€” buy credits when you need them, they never expire.

Free start

$0

50 credits

Full API, no card required. Granted when you verify your email.

Starter

$5

10,000 emails

Right-sized for side projects and transactional email.

Most popular

Volume

$50

250,000 emails

60% less per send than Starter

For products that send every day.

Scale

$100

1,000,000 emails

80% less per send than Starter

Serious volume at the lowest per-send rate.

Your first 50 sends are on us

Create an account, verify your email, and your free credits are ready to use.