Engineering

6 Best Email APIs for Laravel (Compared)

The best email APIs for Laravel are SendHQ, Postmark, Amazon SES, Mailgun, Resend and SendGrid. Compare mail drivers, webhooks, inbound and price at 50k.

TL;DR: The best email APIs for Laravel are SendHQ (REST API with inbound, signed delivery events and a fixed $9 for 50,000 emails, wired in as a 40-line custom transport), Postmark (native Laravel driver, fast transactional mail), Amazon SES (native driver, cheapest at volume), Mailgun (native driver, inbound routes), Resend (native driver, 3,000 free emails a month) and SendGrid (community driver, enterprise scale). Want zero custom code? Pick a native driver. Want sending, receiving and bounce visibility for one fixed price? Pick SendHQ.

Create a SendHQ account and send your first Laravel email from a verified domain.

Laravel sends mail through Symfony Mailer, and MAIL_MAILER picks the transport. Laravel 13 ships drivers for SMTP, Cloudflare, Mailgun, Postmark, Resend, Amazon SES and sendmail, and the docs recommend the API drivers because they are "often simpler and faster than sending mail via SMTP servers" (Laravel 13 mail docs). Any other provider plugs in either over SMTP, through a package (MailerSend and SendGrid have one), or through a custom transport registered with Mail::extend(). For production transactional email (password resets, receipts, login codes) the choice comes down to three things: how the provider plugs into Laravel, whether it pushes bounce and delivery events to a route you can verify, and what 50,000 emails a month costs. Six providers, compared on exactly that.

How we judged Laravel email APIs

  • Laravel integration: a native driver in config/mail.php, a Composer package, SMTP, or a custom transport.
  • Delivery events: bounces, complaints and deliveries pushed to a signed webhook.
  • Inbound email: can the provider receive mail and post it to a Laravel route?
  • Price at 50,000 emails a month and what happens past the allowance.
  • Free tier or trial for local and staging testing.

We did not rank on "deliverability rates": no provider publishes comparable, audited numbers, and inbox placement depends mostly on SPF, DKIM, DMARC and your list hygiene.

ProviderLaravel routeEntry paid plan50k emails/moInboundFree option
SendHQCustom transport (REST)$9/mo, 50,000$9, hard capEvery planNone
PostmarkNative postmark driver$15/mo, 10,000About $87 on BasicPro and Platform100 emails/mo
Amazon SESNative ses driverPay as you goAbout $5 a la carteYesAWS credits
MailgunNative mailgun driver$15/mo Basic$35 FoundationRoutesFree plan
ResendNative resend driver$20/mo, 50,000$20Yes3,000 emails/mo
SendGridCommunity package or SMTP$19.95/mo EssentialsEssentials tierInbound Parse60-day trial

Prices from each provider's pricing page, checked November 26 to 29, 2026.

How a Laravel mailable reaches a provider: driver, package or custom transport
Switching provider changes the mailer config, not your mailables.

1. SendHQ: REST API with inbound and signed events

SendHQ is our product: an email API for products and AI agents that sends through Amazon SES, with inbound email, templates and delivery events on every plan.

  • Best for: Laravel apps that send and receive (support replies, reply-by-email) and want every bounce and complaint visible, at a fixed monthly price.
  • Laravel route: SendHQ has no PHP SDK, no SMTP relay and no Laravel package (SendHQ migration docs). You post to https://sendhq.cc/api/v1/emails, which fits in a custom transport (code below).
  • Pricing: Starter Transactional is $9 a month for 50,000 emails and 25 verified domains; Scale is $39 a month for 200,000 and 100 domains. Inbound and delivery events are on both (SendHQ pricing, checked November 29, 2026). There are no overage charges: past the allowance, sends are rejected.
  • Events: email.sent, email.delivered, email.delivery_delayed, email.bounced, email.complained, email.failed and email.received, signed with the Standard Webhooks scheme. No open or click tracking.
  • Limits: no free plan. A new workspace's daily cap starts at 1,000 recipients and rises with healthy sending.

How do I send through an HTTP API in Laravel?

Write a Symfony transport, register it with Mail::extend(), and point a mailer at it. This is the pattern Laravel's own Resend and Cloudflare transports use (Laravel custom transports):

<?php
// app/Mail/SendHQTransport.php
namespace App\Mail;

use Illuminate\Support\Facades\Http;
use Symfony\Component\Mailer\SentMessage;
use Symfony\Component\Mailer\Transport\AbstractTransport;
use Symfony\Component\Mime\Address;
use Symfony\Component\Mime\MessageConverter;

class SendHQTransport extends AbstractTransport
{
    public function __construct(protected string $key)
    {
        parent::__construct();
    }

    protected function doSend(SentMessage $message): void
    {
        $email = MessageConverter::toEmail($message->getOriginalMessage());
        $list = fn (array $a) => array_map(fn (Address $x) => $x->toString(), $a);

        $payload = array_filter([
            'from' => $list($email->getFrom())[0],
            'to' => $list($email->getTo()),
            'cc' => $list($email->getCc()),
            'bcc' => $list($email->getBcc()),
            'reply_to' => $list($email->getReplyTo()),
            'subject' => $email->getSubject(),
            'html' => $email->getHtmlBody(),
            'text' => $email->getTextBody(),
        ]);

        Http::withToken($this->key)
            ->withHeaders(['Idempotency-Key' => hash('sha256', json_encode($payload))])
            ->timeout(10)
            ->post('https://sendhq.cc/api/v1/emails', $payload)
            ->throw();
    }

    public function __toString(): string
    {
        return 'sendhq';
    }
}
// app/Providers/AppServiceProvider.php, inside boot()
Mail::extend('sendhq', fn (array $config = []) =>
    new \App\Mail\SendHQTransport(config('services.sendhq.key')));

// config/mail.php, inside 'mailers'
'sendhq' => ['transport' => 'sendhq'],

// config/services.php
'sendhq' => ['key' => env('SENDHQ_API_KEY')],

Then set MAIL_MAILER=sendhq in .env. Every existing mailable and notification now goes through SendHQ. The Idempotency-Key is a hash of the payload, so a queue retry of the same message sends the same key (the Symfony message ID changes on every attempt, so don't use it): the same key with an identical payload replays the stored response with Idempotent-Replayed: true, and a changed payload under the same key returns 409 (SendHQ sending docs). Keys can be up to 200 characters.

2. Postmark

Postmark is a transactional email service that separates transactional and broadcast mail into message streams.

  • Best for: password resets and receipts where fast delivery and searchable logs matter more than unit price.
  • Laravel route: native driver. composer require symfony/postmark-mailer symfony/http-client, set POSTMARK_API_KEY, and optionally a message_stream_id per mailer.
  • Pricing: free Developer plan with 100 emails a month. Basic is $15 a month for 10,000 plus $1.80 per extra 1,000; Pro is $16.50 ($1.30 overage) and Platform $18 ($1.20) (Postmark pricing).
  • Limits: inbound is on Pro and Platform only; marketing mail must use a broadcast stream.

3. Amazon SES

Amazon Simple Email Service is AWS's sending and receiving infrastructure, billed per email.

  • Best for: high-volume Laravel apps already on AWS, with someone to run the event pipeline.
  • Laravel route: native ses driver after composer require aws/aws-sdk-php, with key, secret, region and an optional session token in config/services.php.
  • Pricing: a la carte outbound is $0.10 per 1,000 emails (Amazon SES pricing).
  • Limits: new accounts start in the SES sandbox; bounce and complaint events arrive through SNS or EventBridge that you wire up yourself.

4. Mailgun

Mailgun is an email API and SMTP service with rule-based inbound routing.

  • Best for: Laravel apps that route incoming mail by rule, such as a help desk.
  • Laravel route: native driver via composer require symfony/mailgun-mailer symfony/http-client. EU accounts set the endpoint to api.eu.mailgun.net.
  • Pricing: a free plan; Basic is $15 a month from $1.80 per extra 1,000; Foundation is $35 a month for 50,000 (Mailgun pricing).
  • Limits: log retention is short on lower plans, so store events yourself.

5. Resend

Resend is a developer-first email API with a PHP SDK, SMTP relay and inbound email.

  • Best for: small Laravel projects that want a modern API and a usable free tier.
  • Laravel route: native driver via composer require resend/resend-php and RESEND_API_KEY.
  • Pricing: Free is 3,000 emails a month; Pro is $20 a month for 50,000, with extra emails at $0.90 per 1,000 (Resend pricing).
  • Limits: the free plan has a daily cap, so it fits testing more than production.

6. SendGrid: transactional plus marketing campaigns

Twilio SendGrid combines a transactional Mail Send API with a marketing campaigns product, aimed at large organisations.

  • Best for: companies that run newsletters and app notifications from one vendor.
  • Laravel route: no native driver. Use SMTP, or the community package s-ichikawa/laravel-sendgrid-driver for the Web API (package repo).
  • Pricing: a 60-day trial at 100 emails a day; Essentials from $19.95 a month (SendGrid pricing).
  • Trade-off: no permanent free tier.

Two more worth knowing: MailerSend publishes an official package (composer require mailersend/laravel-driver, Laravel 10+), and Laravel 13 added a native Cloudflare driver.

Which email providers have a native Laravel driver?

Laravel 13 ships native drivers for Mailgun, Postmark, Resend, Amazon SES and Cloudflare, plus SMTP and sendmail. MailerSend has an official package, SendGrid a community one, and SendHQ connects through the custom transport above. Native drivers are the least code; a custom transport is about 40 lines you own and test.

Which is cheapest at 50,000 emails?

Amazon SES is cheapest on raw sending at about $5 for 50,000, but you build bounce handling yourself. Among plans that include events and inbound, SendHQ is $9, Resend $20, Mailgun Foundation $35, and Postmark Basic about $87 with overage.

Monthly cost of 50,000 emails by provider

How do I handle bounces in Laravel?

Receive the provider's webhook on a route, verify its signature against the raw body, and stop mailing addresses that hard bounce or complain. For SendHQ, the signature is v1, plus the base64 HMAC-SHA256 of id.timestamp.body, keyed with the base64-decoded secret after whsec_; reject timestamps older than five minutes (SendHQ webhook docs):

// routes/web.php (exclude this path from CSRF)
Route::post('/webhooks/sendhq', function (Request $request) {
    $id = $request->header('webhook-id');
    $ts = (int) $request->header('webhook-timestamp');
    $secret = base64_decode(substr(config('services.sendhq.webhook_secret'), 6));
    $expected = base64_encode(hash_hmac('sha256', "$id.$ts.{$request->getContent()}", $secret, true));

    $valid = collect(explode(' ', $request->header('webhook-signature')))
        ->contains(fn ($s) => hash_equals("v1,$expected", $s));
    abort_unless($valid && abs(time() - $ts) <= 300, 401);

    $event = $request->json()->all();
    if (in_array($event['type'], ['email.bounced', 'email.complained'])) {
        // mark the recipient as do-not-mail in your users table
    }
    return response()->noContent();
});
Production path for a Laravel transactional email
Accepted is not delivered: wait for the event.

Use Mail::to($user)->queue(...) so a slow provider never slows a request, and dedupe webhooks on webhook-id because deliveries can retry. Our inbound email webhooks guide covers receiving, and the email API rate limits guide covers 429 handling.

How to choose

For most Laravel apps sending under 50,000 transactional emails a month, SendHQ gives the most for the money: $9 covers sending, inbound and signed delivery events, and the transport above is the whole integration. Choose Postmark for a native driver with no code to own, Amazon SES if you send millions and have AWS skills, Mailgun if inbound routing rules are the core feature, and Resend for a free side-project tier. Building in Python too? See our Django email API comparison, or model other volumes with the email API pricing guide.

Want sending, receiving and bounce events for your Laravel app on one $9 plan? Start with SendHQ.

FAQ

What is the best email API for Laravel?

SendHQ is the best fit for Laravel apps that need sending, inbound and delivery events at a fixed $9 a month through a small custom transport. Postmark is the best native-driver option, and Amazon SES is the cheapest at high volume.

Does SendHQ have a Laravel package?

No. SendHQ has no PHP SDK, Laravel package or SMTP relay. You integrate it with a custom transport registered through Mail::extend(), as shown above, and your mailables stay unchanged.

Can I use two email providers in Laravel?

Yes. Define several mailers in config/mail.php and pick one per message with Mail::mailer('postmark'). The failover transport tries mailers in order when one fails, and roundrobin spreads load across them.

How do I test Laravel email without sending real mail?

Set MAIL_MAILER=log in local development, and call Mail::fake() in tests, then assert with Mail::assertSent().

Should I use SMTP or an API driver in Laravel?

Use an API driver in production. Laravel's own docs recommend the API drivers as simpler and faster than SMTP, and an API returns a message ID and structured errors. Our SMTP port guide covers SMTP if you need it.