Email API for Gmail, Outlook and IMAP
Join 200,000+ of the world’s most ambitious developers and builders
- Case study
- Case study
One API. Gmail, Outlook and IMAP
Connect a Google account, a Microsoft account or any IMAP mailbox, and call the same email endpoints for all three
- Gmail
- Google Calendar
- Google Drive
- Google Contacts
Gmail, read and send
Threads, labels, attachments and sends from a Gmail or Google Workspace mailbox.
Explore Google- Outlook
- Outlook Calendar
- OneDrive
- Outlook Contacts
Outlook, read and send
Threads, folders, attachments and sends from a Microsoft 365 mailbox.
Explore Microsoft- iCloud, Yahoo, AOL
- Fastmail, GMX, Zoho
- Custom domains
Any IMAP mailbox, read and send
iCloud, Yahoo, Fastmail, GMX, Zoho or a company’s own domain, with the same requests.
Explore IMAP
From signup to first email in three steps
- 01
Get your API key
Sign up free and create a key in the dashboard.
- 02
Connect Google or Microsoft
Request a connect link with the areas you need. Each account gets an ID for API calls.
- 03
Send from their mailbox
POST /v1/email/messages sends as the connected user and returns the stored sent copy.
Everything you need for email
Read
- Threads and messagesNewest first, cursor paginated
- Filters and searchUnread, sender, dates, native query
- Folders and labelsCreate labels, tag without moving
- AttachmentsDownload any attachment by ID
- Clean textThe new text only, quotes and signature stripped
- Raw and headersFull headers or the raw message
Send
- SendFrom any alias or shared mailbox, with a signature
- Reply and reply allThreaded by the provider
- ForwardWith the original attachments
- DraftsVersioned, so a person approves exactly one
- Scheduled sendUp to 30 days ahead, cancel any time
- AttachmentsUp to 20 files, 25 MB in total
- Send caps200 to 1,000 a day per mailbox
Track and organize
- Open trackingemail.opened when it is opened
- Link trackingemail.link_clicked on every click
- Reply trackingemail.thread_replied when they answer
- Bounce detectionemail.bounced with a recommended action
- Read, star, label, moveGmail labels, Outlook categories
- message.receivedA webhook for each new email
One link connects any mailbox
Your user types their email address and Tevanio finds the provider. No provider picker, no server settings form.
- Gmail and Microsoft addresses go to their own sign-in
- Other mailboxes get their provider’s app-password steps
- Errors name the step that failed, in plain words
- Reconnect asks only for the new password
Verified consent screens, no app review on your side
Ask only for the areas you need (email, calendar, files or contacts) and your users grant just those. How we handle user data
Verified for restricted Gmail and Drive scopes
CASA Tier 2 security assessed by an independent, authorized lab, renewed every year.
No restricted-scope review or CASA assessment for you to run.
Drive uses drive.file: only files your users pick or your app creates.
Microsoft publisher verified
Your users see Tevanio as a verified publisher on the Microsoft consent screen.
No publisher verification for you to set up.
More on the same API key
Posting, DMs, analytics, and ads run on the same API and the same connected accounts.
Frequently asked questions
Add Gmail, Outlook and IMAP to your app
Connect a mailbox, send the first email and get a webhook for every reply.
- Gmail + Outlook + IMAP
- Open and click tracking
- Scheduled send