Email Archiving API

Supports the capture of your corporate email messages, attachments, and valuable metadata into your Global Relay Archive

Programmatically send structured email directly to Global Relay Archive via secure JSON requests. Built on the same Open Connector framework as the Global Relay Conversation Archiving API to ensure consistent integration standards while maintaining email-specific structure and compliance fidelity.

In addition to standard email clients, the Email API can accept email-native data sources and other mass-mail systems while maintaining data validation, reconciliation, and governance standards.

Key features

Purpose-built for email

To provide advanced insight for compliance review and data analytics, each request you make using the Email Archiving API represents one archived message, which subsequently captures:

  • Email headers and message identifiers, such as subject, time, messageId, etc.
  • Sender and recipient fields, including To, From, Cc, and Bcc.
  • Inline and attached files.
  • Embedded HTML, disclaimers, and signatures.
  • Message lifecycle events, such as email_sent, email_forwarded, email_read, etc.

Extended file and media capture

To capture the full spectrum of your email content, including images, documents, videos, and GIFs, the Email Archiving API integrates with the Global Relay Files endpoint to capture:

  • Inline attachments using a unique contentId value.
  • Large files up to 1 GB.
  • Full MIME assembly for HTML-rich or multimedia emails.

Compliance-ready data fidelity

To ensure the completeness and audibility of every message submitted through the Email Archiving API, your data is automatically validated and converted into an immutable RFC 2822-compliant EML that meets:

  • SEC 17a-4, FINRA 4511, FCA, MiFID II Article 16 regulatory requirements.
  • Full reconstruction capabilities with reconciliationId tracking and schema validation.

A more secure and accurate way to archive your data

With industry-standard OAuth 2.0, full end-to-end encryption and built-in data validation, you can trust that your data is safe and accurate.

How it works

Enroll your application, including the source provider email client you plan to archive, by contacting your Global Relay Implementation Specialist

Store your credentials securely, which your application uses to obtain an API access token from our OAuth 2.0 endpoint

Submit data, via your application, to the Email Archiving API with the access token

Global Relay authenticates your request, validates and transforms your data, then stores it in Global Relay Archive

Archive users can discover and analyze email data in Global Relay Archive

Security & authentication

All your data is end-to-end encrypted in transit and at rest, and we use the OAuth 2.0 standard for authentication and authorization.

The Email Archiving API uses the Client Credentials OAuth 2.0 grant type, so your application must securely store credentials, which are exchanged for an access token you use to make a request to the API. Your Global Relay Implementation Specialist will provide your credentials when you enroll a new application.

For more information, see our tutorial on authentication.

Getting started

To learn more about how to integrate with the API, see our in-depth tutorials or the full API Reference.