Back to Blog
SMTPEmail InfrastructureDeveloper Tools

Why Bring Your Own SMTP is the Future of Transactional Email

February 7, 2026 5 min read

For years, developers have been forced to choose between convenience and control when it comes to transactional email. Traditional email service providers (ESPs) like SendGrid, Mailgun, or Resend offer easy APIs but lock you into their infrastructure and pricing.

The Problem with Traditional Email APIs

Traditional email APIs have revolutionized how developers send transactional emails. They're easy to integrate, offer great deliverability, and provide helpful analytics. But they come with significant drawbacks:

  • Vendor Lock-in: Once you integrate deeply with an ESP, switching becomes expensive and time-consuming.
  • Opaque Pricing: Prices can change, and you're at the mercy of their pricing structure.
  • Limited Control: You can't optimize your email infrastructure for your specific needs.
  • Data Privacy: Your email content and recipient data pass through third-party servers.

What is Bring Your Own SMTP (BYOS)?

Bring Your Own SMTP (BYOS) is a paradigm shift in email infrastructure. Instead of relying on an ESP's email servers, you bring your own SMTP provider—whether that's Gmail, AWS SES, your own mail server, or any other SMTP service.

How BYOS Works

  1. 1. Your Application sends an email via the Void Relay SDK
  2. 2. Void Relay processes the request, validates data, and adds tracking
  3. 3. Your SMTP Server (Gmail, SES, etc.) actually sends the email
  4. 4. Webhooks notify your application of delivery events

Getting Started with Void Relay

1. Install the SDK

npm install @voidvalue/relay

2. Configure Your SMTP

In the Void Relay dashboard, add your SMTP credentials from any provider (AWS SES, Gmail, SendGrid, etc.).

3. Send Emails

import { RelayClient } from '@voidvalue/relay';

const relay = new RelayClient({
  apiKey: 'your-api-key',
  smtpKey: 'your-smtp-key',
});

await relay.send({
  to: '[email protected]',
  subject: 'Welcome!',
  content: '<h1>Thanks!</h1>',
  isHtml: true,
});

Benefits of Bring Your Own SMTP

1. No Vendor Lock-in

The most significant advantage of BYOS is freedom. You can switch SMTP providers anytime without changing your application code.

2. Cost Optimization

Traditional ESPs markup their services significantly. With BYOS, you pay your SMTP provider directly at their rates.

3. Greater Data Control

With BYOS, you choose which SMTP providers handle your email content and recipient data. This gives you greater control over data residency and compliance requirements like GDPR.

Start Free with Void Relay

Join our beta and get 2,500 emails/day per API key (up to 5 keys = 12,500/day total). No credit card required.

Conclusion

The future of transactional email is about choice and control. Bring Your Own SMTP gives you the best of both worlds: the convenience of a modern email API and the freedom to use your own infrastructure.

Share this article