Back to Blog
serverless
testing
email
webhooks
Introducing Mailhookin: Serverless Email Testing
Why we built Mailhookin and how it simplifies testing email workflows with webhooks.
Testing email workflows is hard. You need a real SMTP server, a way to inspect emails, and often you want to trigger automated tests when an email arrives.
Mailhookin solves this by giving you infinite disposable email addresses that route directly to your webhooks.
How it works
- Create an inbox: Get a random address like
x9fz2@in.mailhook.in. - Send an email: Use your app to send an email to that address.
- Receive a webhook: Mailhookin parses the email and POSTs a JSON payload to your webhook URL.
{
"event": "email.received",
"email": {
"from": "sender@example.com",
"subject": "Hello World",
"textBody": "This is a test email."
}
}
Why Serverless?
We built Mailhookin on AWS Lambda, SES, and DynamoDB. This means:
- Infinite scale: Handle millions of emails without managing servers.
- Low cost: Pay only for what you use.
- High reliability: Leveraging AWS's proven infrastructure.
Stay tuned for more updates!