# Email API/SMTP

- [Overview](https://docs.mailtrap.io/email-api-smtp/overview.md): Overview of Mailtrap Email API and SMTP service: key features, use cases, and target audience.
- [Setup & Configuration](https://docs.mailtrap.io/email-api-smtp/setup.md): Set up and configure Mailtrap email API and SMTP service and start sending emails in minutes.
- [Sending Domain Setup](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain.md): Set up your sending domain in Mailtrap. Add DNS records, verify SPF/DKIM/DMARC, pass compliance, and start sending emails in minutes.
- [AWS Route 53](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain/aws-route-53.md): Verify your Mailtrap sending domain in AWS Route 53. Add DNS records for DKIM/DMARC verification, pass compliance, and start sending emails.
- [Cloudflare](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain/cloudflare.md): Verify your Mailtrap sending domain in Cloudflare. Add DNS records for DKIM/DMARC verification, pass compliance, and start sending emails.
- [DigitalOcean](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain/digitalocean.md): Verify your Mailtrap sending domain in Digital Ocean. Add DNS records for DKIM/DMARC verification, pass compliance, and start sending emails.
- [GoDaddy](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain/godaddy.md): Verify your Mailtrap sending domain in GoDaddy. Add DNS records for DKIM/DMARC verification, pass compliance, and start sending emails.
- [Google Cloud DNS](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain/google-cloud-dns.md): Verify your Mailtrap sending domain in Google Cloud DNS. Add DNS records for DKIM/DMARC verification, pass compliance, and start sending emails.
- [Namecheap](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain/namecheap.md): Verify your Mailtrap sending domain in Namecheap. Add DNS records for DKIM/DMARC verification, pass compliance, and start sending emails.
- [Squarespace](https://docs.mailtrap.io/email-api-smtp/setup/sending-domain/squarespace.md)
- [API Integration](https://docs.mailtrap.io/email-api-smtp/setup/api-integration.md): Integrate Mailtrap email API. Get API credentials, choose transactional or bulk sending, use SDKs or code samples, and start sending.
- [API Tokens](https://docs.mailtrap.io/email-api-smtp/setup/api-tokens.md): Learn how to create, manage, and use API tokens for Email API/SMTP.
- [SMTP Integration](https://docs.mailtrap.io/email-api-smtp/setup/smtp-integration.md): Integrate Mailtrap SMTP. Get SMTP credentials, choose transactional or bulk sending, use code samples, and start sending.
- [Bulk Stream](https://docs.mailtrap.io/email-api-smtp/setup/bulk-stream.md): Integrate Mailtrap Bulk Stream via API or SMTP. Get credentials, use SDKs or code samples, and send promotional emails with built-in compliance features.
- [Sending Limits](https://docs.mailtrap.io/email-api-smtp/setup/sending-limits.md): Learn Mailtrap email sending limits: hourly, daily, connection, and email size. Understand what happens when limits are reached and how to upgrade.
- [Email Templates](https://docs.mailtrap.io/email-api-smtp/email-templates.md): Create and send Mailtrap email templates with drag-and-drop builder or HTML editor, add Handlebars variables, and integrate via API or SMTP.
- [Editing and Customizing](https://docs.mailtrap.io/email-api-smtp/email-templates/editing-and-customizing.md): Learn how to edit and customize email templates using Details, Drag & Drop Editor, Code Editor, and test your templates.
- [Handlebars Guide](https://docs.mailtrap.io/email-api-smtp/email-templates/handlebars.md): Complete guide to using Handlebars templating language with Mailtrap Email Templates, including syntax examples, helpers, and practical use cases.
- [Integration](https://docs.mailtrap.io/email-api-smtp/email-templates/integration.md): Learn how to integrate Mailtrap email templates with Email API/SMTP using Transactional or Bulk streams.
- [Debugging with Sandbox](https://docs.mailtrap.io/email-api-smtp/email-templates/debugging.md): Learn how to test and debug your email templates using Mailtrap Email Sandbox.
- [Migrate templates](https://docs.mailtrap.io/email-api-smtp/email-templates/migrate-templates.md)
- [Analytics & Reports](https://docs.mailtrap.io/email-api-smtp/analytics.md): Learn what statistics Mailtrap provides: Stats dashboard, Email logs, Email categories, Mailbox providers.
- [Stats Dashboard](https://docs.mailtrap.io/email-api-smtp/analytics/dashboard.md): Understand Mailtrap stats dashboard: delivery, open, click, bounce, and spam rates. Learn about domain filtering, warning thresholds, and metric calculations.
- [Email Logs](https://docs.mailtrap.io/email-api-smtp/analytics/logs.md): Understand Mailtrap email logs: search and filter sent emails by status, events, and provider. View event history, previews, HTML source, and spam analysis.
- [Email Categories](https://docs.mailtrap.io/email-api-smtp/analytics/categories.md): Understand Mailtrap email categories: organize email types like welcome, onboarding, or billing. Track performance, analyze metrics, and compare categories.
- [Mailbox Providers](https://docs.mailtrap.io/email-api-smtp/analytics/mailbox-providers.md): Analyze email performance by mailbox providers like Gmail, Outlook, and Yahoo. Filter by domain and category, track metrics, and identify deliverability issues.
- [Statuses and Events](https://docs.mailtrap.io/email-api-smtp/analytics/statuses-and-events.md): Learn about Mailtrap statuses and events: delivery, bounces, opens, clicks, and opt-outs. Understand how statuses differ from events and track performance.
- [Deliverability Features](https://docs.mailtrap.io/email-api-smtp/deliverability.md): Learn about email deliverability features and tools Mailtrap provides to guarantee high inbox placement rates of your emails.
- [Suppressions List](https://docs.mailtrap.io/email-api-smtp/deliverability/suppressions-list.md): Manage Mailtrap suppression lists. View, add, remove, or import suppressed emails from hard bounces, unsubscribes, and spam complaints via CSV or manually.
- [Dedicated IP](https://docs.mailtrap.io/email-api-smtp/deliverability/ip-warmup.md): Learn about Mailtrap IP warmup: shared vs dedicated IPs, automated IP warmup schedule, and gradual daily sending limits over 3 weeks.
- [Bounce Categorization](https://docs.mailtrap.io/email-api-smtp/deliverability/bounce-categorization.md): Understand how Mailtrap categorizes email bounces based on MX server responses, including bounce types, descriptions, and automatic suppression rules.
- [Feedback Loops](https://docs.mailtrap.io/email-api-smtp/deliverability/feedback-loops.md): Learn how Mailtrap integrates with popular Feedback Loops (FBLs) to track spam complaints from major mailbox providers including Outlook, Yahoo, and more.
- [Deliverability Alerts](https://docs.mailtrap.io/email-api-smtp/deliverability/deliverability-alerts.md): Get weekly health status reports and critical alerts for your email deliverability metrics including opens, clicks, bounces, unsubscribes, and spam complaints.
- [Protecting Your Domain](https://docs.mailtrap.io/email-api-smtp/deliverability/protecting-domain-security.md): Best practices to protect your sending domain from abuse, including securing web forms, implementing CAPTCHA, and hiding sensitive configuration files.
- [Advanced Features](https://docs.mailtrap.io/email-api-smtp/advanced.md): Learn what features for advanced email sending scenarios Mailtrap Email API/SMTP provides.
- [Custom Variables](https://docs.mailtrap.io/email-api-smtp/advanced/custom-variables.md): Add unique data to your emails with custom variables. Track user IDs, inbox IDs, and other metadata via Email Logs using X-MT-Custom-Variables header.
- [Excluding Links from Tracking](https://docs.mailtrap.io/email-api-smtp/advanced/excluding-specific-links-from-tracking.md): Learn how to exclude specific links from tracking using the data-mt-no-track attribute to preserve app deeplinks and sensitive URLs.
- [Auto BCC](https://docs.mailtrap.io/email-api-smtp/advanced/auto-bcc.md): Automatically add BCC recipients to all emails sent from your domain with custom headers support.
- [Webhooks](https://docs.mailtrap.io/email-api-smtp/advanced/webhooks.md): Set up webhooks to receive real-time notifications about email deliverability events and account activities within your Mailtrap account.
- [Static IPs for sending & webhooks](https://docs.mailtrap.io/email-api-smtp/advanced/static-ips-for-sending-and-webhooks.md)
- [Mailtrap CLI app](https://docs.mailtrap.io/email-api-smtp/advanced/mailtrap-cli-app.md)
- [Help & Support](https://docs.mailtrap.io/email-api-smtp/help.md): Get help with Email API/SMTP issues and find answers to common questions.
- [Sending Glossary](https://docs.mailtrap.io/email-api-smtp/help/glossary.md): Definitions of key terms and phrases used in Mailtrap Email API/SMTP, including DNS records, email events, SMTP settings, and deliverability concepts.
- [FAQs](https://docs.mailtrap.io/email-api-smtp/help/faqs.md): Frequently asked questions about Mailtrap Email API/SMTP.
- [Troubleshooting](https://docs.mailtrap.io/email-api-smtp/help/troubleshooting.md): Common issues and solutions for Mailtrap Email API/SMTP.
- [401 Unauthorized Error](https://docs.mailtrap.io/email-api-smtp/help/troubleshooting/unauthorized-401-error.md): How to fix "Unauthorised" (401) authentication errors in Mailtrap Email API/SMTP.
- [Domain Not Allowed](https://docs.mailtrap.io/email-api-smtp/help/troubleshooting/sending-from-domain-not-allowed.md): How to fix "Sending from domain is not allowed" (550 5.7.1) error in Mailtrap Email API/SMTP.
- [From Header Mismatch](https://docs.mailtrap.io/email-api-smtp/help/troubleshooting/from-header-domain-mismatch.md): How to fix "From: Header does not match the sender's domain" error in Mailtrap Email API/SMTP.
- [Click Tracking Blocked – SSL Cipher Error](https://docs.mailtrap.io/email-api-smtp/help/troubleshooting/ssl-cipher-overlap-error.md): Received a 'Click tracking disabled - custom hostname blocked' alert? Read this article and learn how to fix SSL errors when using custom domains for click tracking in Mailtrap Email API/SMTP.
- [Office 365 Quarantine](https://docs.mailtrap.io/email-api-smtp/help/troubleshooting/ms-office-365-quarantine.md): How to resolve your emails sent from Mailtrap Email API/SMTP being sent to Office 365 quarantine.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mailtrap.io/email-api-smtp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
