Email Setup: SMTP
Configure outgoing email via SMTP. Required for booking confirmations, password resets, and meeting reminders.
Send transactional email through Postmark for high deliverability and detailed delivery analytics.
Technical Product Builder & AI Developer
.env file
By the end of this guide, Tymeslot will send all transactional email through Postmark with full delivery tracking and bounce management.
Generic SMTP works but gives you no visibility into what happens after Tymeslot hands an email off. Postmark is a dedicated transactional email service — built for exactly the kind of booking confirmation and notification traffic Tymeslot generates. For professional deployments, the operational difference is significant.
postmarkapp.com and click Start Free. Fill in your name, email, and a password.
A Postmark Server is a logical container for your sending activity — it holds your API token, message streams, and delivery history. Create one per Tymeslot environment (e.g., one for production, one for staging).
Postmark will not deliver email from an unverified domain. Domain verification also enables DKIM signing, which significantly improves inbox placement.
EMAIL_FROM_ADDRESS=noreply@acme.com, enter acme.com.
EMAIL_FROM_ADDRESS to that address for initial testing, then switch to a domain signature once verified.
Open your .env file (or your hosting platform's environment variable settings) and set the following. Use the Server API Token you copied in Step 3.
EMAIL_ADAPTER=postmark
EMAIL_FROM_NAME="Acme Corp"
EMAIL_FROM_ADDRESS=noreply@acme.com
POSTMARK_API_KEY=your-server-api-token
| Variable | Purpose |
|---|---|
| EMAIL_ADAPTER | Must be postmark to use Postmark's native API adapter instead of generic SMTP. |
| EMAIL_FROM_NAME | The display name recipients see in their inbox — e.g., "Acme Corp". Wrap in quotes if it contains spaces. |
| EMAIL_FROM_ADDRESS | Must belong to a domain or signature that is fully verified in Postmark. |
| POSTMARK_API_KEY | The Server API Token from Step 3. Do not use an Account API Token. |
Tymeslot reads environment variables at startup. Save your .env file and restart the application — changes will not take effect until you do.
After the process comes back up, trigger a test email by going to your Tymeslot sign-in page and clicking Forgot password?. Enter your account email address and submit.
You should receive the password reset email within a few seconds. While you wait, open the Postmark dashboard and go to your server's [Activity] tab — you will see the email appear in near real-time as Postmark processes it.
If you get a "422 — Sender signature not found" error
The domain in your EMAIL_FROM_ADDRESS is not verified in Postmark. Return to Step 4 and confirm that both the DKIM and Return-Path records show as verified before retrying.
If you see "sandbox mode" and emails only go to verified recipients
Free Postmark accounts restrict outbound email to verified sender addresses only — this is their sandbox behaviour. To send to any recipient, upgrade to a paid account through [Account] → [Billing].
The Activity tab inside your Postmark server is your primary operational tool. It shows every email Tymeslot has sent, with a full timeline for each message.
For each email you can see: the recipient address, the message subject, when it was submitted to Postmark, when it was delivered to the recipient's mail server, whether it was opened, and — if delivery failed — the exact bounce reason.
Check the Activity tab after your first real bookings go out. If you see hard bounces, the recipient addresses are invalid — Postmark will suppress future sends to those addresses automatically. If you see soft bounces (temporary failures), Postmark retries delivery automatically.
Postmark has two distinct token types and it is important to use the right one. The Server API Token is scoped to a single Postmark server — it can only send email and access activity for that server. The Account API Token lives in your profile settings and has broad account-level access including billing and server management.
Tymeslot expects the Server API Token. Using the Account API Token will work in some cases but gives Tymeslot more access than it needs, and is not recommended. Find the Server Token inside your server under [Settings] → API Tokens.
If Tymeslot reports success but emails are not reaching the inbox, the issue is downstream of the application. Open the [Activity] tab inside your Postmark server — every outbound message appears there with a full delivery timeline.
Look for soft bounces (temporary delivery failures that Postmark retries automatically), hard bounces (permanent failures — usually an invalid address), or spam complaints. If messages show as Delivered in Postmark but still do not appear in the inbox, check the recipient's spam or junk folder. If the domain is unverified or DKIM is missing, inbox placement drops significantly.
Yes — Postmark requires domain verification before it will deliver email at production scale. Unverified or trial accounts are restricted to very low sending volumes and cannot send to arbitrary recipients.
Domain verification also enables DKIM signing, which is one of the most important factors for inbox placement. Without DKIM, a higher proportion of your emails will land in spam regardless of content. Follow Step 4 in this guide to add the DKIM TXT record and Return-Path CNAME that Postmark provides. Once both show as verified, your domain is fully authorised.
Postmark does not have a traditional sandbox environment the way Amazon SES does. Instead, new accounts that have not yet been approved for production sending are restricted to sending only to verified sender addresses — you can test the full email flow as long as the recipient address is one you have verified in your Sender Signatures.
Once your account is approved for production sending (which happens automatically after Postmark's onboarding review), you can send to any recipient. You can also use Postmark's Message Streams feature to create a dedicated test stream that you can use for development without affecting your production activity log.
In the Postmark dashboard, navigate to Servers and select the server you created for Tymeslot. Inside the server, click the [Settings] tab in the top navigation. The Server API Token is shown near the top of that page — click Show to reveal it, then Copy to copy it to your clipboard.
If you cannot find the Settings tab, make sure you are inside a specific server — not at the account level. The account-level view shows the server list; you need to click into a server first.
EMAIL_FROM_NAME and EMAIL_FROM_ADDRESS, not a Postmark default.
Configure outgoing email via SMTP. Required for booking confirmations, password resets, and meeting reminders.
Deploy Tymeslot using Docker and Docker Compose. Perfect for VPS hosting, home servers, or any environment with Docker support.
One-click installation on Cloudron. Automated backups, SSL certificates, and updates handled automatically.