Secure Email

Developer Guide

This section is for developers and technical admins building automation, integrations, or customizations on top of Secure Email — as opposed to the Admin Guide, which covers setup and day-to-day configuration.

Prerequisites: familiarity with Apex and/or Flow, and a basic understanding of the Secure Email data model (Secure EmailMessage / Email Recipient).

What's in This Section

  • Data Model and ER Diagrams — the Secure EmailMessage and Email Recipient objects, every field, and how they relate

  • Automation Guide — how to create Secure EmailMessage records via Flow or Apex, with working code samples

These live elsewhere in the space but are frequently needed alongside the pages above:

  • Configuration Settings — every configurable setting referenced by the data model and automation, useful when your code depends on org-specific values

  • Architecture & Workflow — how encryption, delivery, and status polling actually work end-to-end, useful context before writing integration logic

  • Troubleshooting — common errors when sending, bulk sending, or tracking delivery status programmatically