Skip to content
Book a demoStart free
Connectors

Mailtrap connector

Set up the Mailtrap connector in Kaivo: authentication, configuration, the 7 BigQuery tables it syncs, and answers to common questions.

Mailtrap connector pricing, tier and credits on kaivo.io

Kaivo is a fully managed data platform that syncs your Mailtrap data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your survey and email data instead of moving it.

Sync your Mailtrap email data into BigQuery with Kaivo to monitor deliverability and sending across domains.

CategorySurveys & Email
AuthenticationAPI key
SetupSelf-service

Getting started with the Mailtrap connector

Section titled “Getting started with the Mailtrap connector”
  1. Sign up for Kaivo and create a workspace.
  2. Connect your Mailtrap account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticate with your API Token.

Field Description
API Token
API token to use. Find it at https://mailtrap.io/account

|

Kaivo syncs 7 tables from Mailtrap into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

accounts (4 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
billing_usage (13 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
billing__cycle_end STRING
billing__cycle_start STRING
sending__plan__name STRING
sending__usage__sent_messages_count__current FLOAT64
sending__usage__sent_messages_count__limit FLOAT64
testing__plan__name STRING
testing__usage__forwarded_messages_count__current FLOAT64
testing__usage__forwarded_messages_count__limit FLOAT64
testing__usage__sent_messages_count__current FLOAT64
testing__usage__sent_messages_count__limit FLOAT64
uuid STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
inboxes (26 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
api_domain STRING
domain STRING
email_domain STRING
email_username STRING
email_username_enabled BOOL
emails_count FLOAT64
emails_unread_count FLOAT64
forward_from_email_address STRING
forwarded_messages_count FLOAT64
id FLOAT64
max_message_size FLOAT64
max_size FLOAT64
name STRING
password STRING
permissions__can_destroy BOOL
permissions__can_leave BOOL
permissions__can_read BOOL
permissions__can_update BOOL
pop3_domain STRING
project_id FLOAT64
sent_messages_count FLOAT64
status STRING
used BOOL
username STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
messages (26 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
blacklists_report_info__domain STRING
blacklists_report_info__ip STRING
blacklists_report_info__result STRING
created_at STRING
download_path STRING
email_size FLOAT64
from_email STRING
from_name STRING
html_body_size FLOAT64
html_path STRING
html_source_path STRING
human_size STRING
id FLOAT64
inbox_id FLOAT64
is_read BOOL
raw_path STRING
sent_at STRING
smtp_information__ok BOOL
subject STRING
text_body_size FLOAT64
to_email STRING
to_name STRING
txt_path STRING
updated_at STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: messages__blacklists_report_info__report

Section titled “Subtable: messages__blacklists_report_info__report”
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
in_black_list BOOL
name STRING
url STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
projects (10 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
permissions__can_destroy BOOL
permissions__can_leave BOOL
permissions__can_read BOOL
permissions__can_update BOOL
share_links__admin STRING
share_links__viewer STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
api_domain STRING
domain STRING
email_domain STRING
email_username STRING
email_username_enabled BOOL
emails_count FLOAT64
emails_unread_count FLOAT64
forward_from_email_address STRING
forwarded_messages_count FLOAT64
id FLOAT64
last_message_sent_at STRING
max_message_size FLOAT64
max_size FLOAT64
name STRING
password STRING
permissions__can_destroy BOOL
permissions__can_leave BOOL
permissions__can_read BOOL
permissions__can_update BOOL
pop3_domain STRING
project_id FLOAT64
sent_messages_count FLOAT64
status STRING
used BOOL
username STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
resources (6 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
type STRING
access_level FLOAT64
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
type STRING
access_level FLOAT64
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
type STRING
access_level FLOAT64
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: resources__resources__resources__resources

Section titled “Subtable: resources__resources__resources__resources”
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value JSON
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
sending_domains (17 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
auto_unsubscribe_link_enabled BOOL
click_tracking_enabled BOOL
compliance_status STRING
critical_alerts_enabled BOOL
custom_domain_tracking_enabled BOOL
demo BOOL
dns_verified BOOL
domain_name STRING
health_alerts_enabled BOOL
id FLOAT64
open_tracking_enabled BOOL
permissions__can_destroy BOOL
permissions__can_read BOOL
permissions__can_update BOOL
tracking_domain_name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: sending_domains__auto_bcc_config__emails

Section titled “Subtable: sending_domains__auto_bcc_config__emails”
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value JSON
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: sending_domains__auto_bcc_config__headers

Section titled “Subtable: sending_domains__auto_bcc_config__headers”
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value JSON
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
type STRING
domain STRING
key STRING
name STRING
status STRING
value STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where Mailtrap supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won’t get duplicate rows.

How long does the initial sync take for Mailtrap?

Section titled “How long does the initial sync take for Mailtrap?”

It depends on how much history is in your Mailtrap account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they’re much faster.

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don’t select are never copied to your warehouse.

What happens when Mailtrap’s schema changes?

Section titled “What happens when Mailtrap’s schema changes?”

New fields are never added automatically. You choose which fields to sync, so data you haven’t selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table’s sync mode: full-refresh tables always match what’s currently in Mailtrap, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Section titled “How do I handle GDPR or data deletion requests?”

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in Mailtrap instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the Mailtrap connector in Kaivo and all of its synced data is deleted with it.

Use messages and sending_domains to track delivery across domains.

Use billing_usage to monitor sending volume and cost over time.

Join projects with inboxes to organise testing and sending.

Once Mailtrap data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here’s how the most common destinations work with Mailtrap data.

Use Kaivo’s MCP server to give Claude secure, workspace-scoped access to your data. Setup guide →

Microsoft’s BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide →

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide →

The premium analytics standard, with native BigQuery integration. Setup guide →

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide →

Connect via Power Query’s BigQuery connector. Setup guide →

Open-source BI tool with strong BigQuery support. Setup guide →

See our pricing page for Mailtrap connector pricing and plan details.