Skip to content

Unified API

Unified Emails API

One standardized interface to read and write email data across every provider. 4 unified resources, 3 supported integrations, zero provider-specific code.

https://api.truto.one/unified/emails
Start integrating API docs
4

Unified resources

3

Supported integrations

Pass‑through

Real-time, no data storage

Data Model

Email resources

Every resource is normalized across providers. Use the same schema whether your customer is on Gmail or Google.

Attachments

Attachments are the files associated with an email.

9 fields Docs →
Attachments fields
id string
file_name string
email object
size number
file_url string
content_type string
uploaded_by string
created_at string
updated_at string

Emails

An email is a digital message sent and received electronically over the Internet. It typically contains a subject, sender, recipients, body content, and sometimes attachments.

17 fields Docs →
Emails fields
id string
from string
to array
cc array
bcc array
subject string
content object
headers object
reply_to array
priority string
folder object
is_draft boolean
attachments array
urls array
created_at string
updated_at string
sent_at string

Folders

The folder is a container used to organize and manage email messages.

8 fields Docs →
Folders fields
id string
name string
folder_url string
size integer
description string
parent object
created_at string
updated_at string

Users

Users represent the people using the underlying emails system. They are usually called agents, team members, admins, etc.

8 fields Docs →
Users fields
id string
first_name string
last_name string
name string
emails array
roles array
created_at string
updated_at string

Integrations

3 integrations, one API

Connect to any of these providers through the Unified Emails API. Same resources, same schema, same code.

How It Works

From zero to integrated

Go live with the Unified Emails API in under an hour. No boilerplate, no maintenance burden.

01

Connect your customer’s account

Use Truto’s pre-built auth flows to connect any email provider. OAuth, API keys, and custom auth — all handled.

02

Query the unified API

Read and write data through a single, normalized REST API. Same endpoints, same schema, regardless of the underlying provider.

03

Customize with JSONata

Need a field the unified model doesn’t cover? Extend the schema with declarative JSONata mappings — no code deploys, no waiting on us.

Unified Emails API

Start building with the Unified Emails API

3 integrations. 4 unified resources. Zero provider-specific code. Ship email integrations in hours, not months.

Talk to us