# Better Email Developer Documentation > Learn how to build, review, and export on-brand emails with Better Email -- including the Email Editor, the Template Editor, modules, ESP integrations, and the Betty AI assistant. This site is the official developer and user documentation for Better Email (https://better.email). All content is freely available for indexing, AI search, and AI training. In Better Email, a **template** defines the system (layout, modules, and editable fields), an **email** is a campaign built from that template, and an **integration** delivers the finished output to your ESP. The docs use **module** as the canonical term for reusable content blocks; you may also see them called blocks or components inside the product. ## Getting started - [Getting started](https://learn.better.email/docs/getting-started): How templates, emails, and integrations fit together, and where to begin based on your role. - [Create your first email](https://learn.better.email/docs/getting-started/creating-first-email): The fastest path from an existing template to a finished draft in the Email Editor. - [Create your first template](https://learn.better.email/docs/getting-started/creating-first-template): Build a working template from a base, modules, and settings. - [Invite your team](https://learn.better.email/docs/getting-started/invite-your-team): Add teammates and choose the right roles for them. - [Build a design system](https://learn.better.email/docs/getting-started/design-system-guide): Practical guidance for structuring email templates that scale across brands. ## Fundamentals - [Fundamentals overview](https://learn.better.email/docs/fundamentals): Core concepts and workflows used day to day after initial setup. - [Emails](https://learn.better.email/docs/Fundamentals/emails): The campaign object in Better Email and how it relates to its template. - [Email Workspace](https://learn.better.email/docs/Fundamentals/email-workspace): The single page that brings Edit, Feedback, and Review together for each email, plus how revisions work. - [Email Editor](https://learn.better.email/docs/Fundamentals/email-editor): The Edit tab of the Email Workspace, where marketers turn a template into a finished, exportable campaign. - [Templates](https://learn.better.email/docs/Fundamentals/templates): How templates shape the editing experience for marketers. - [Recipient Fields / Merge Tags](https://learn.better.email/docs/Fundamentals/merge-tags): Personalization fields and how they map to ESP merge-tag syntax on export. - [Translation](https://learn.better.email/docs/Fundamentals/translation): AI-assisted and spreadsheet-based translation workflows. - [Review & testing](https://learn.better.email/docs/Fundamentals/review-and-testing): The Review tab of the Email Workspace -- pre-flight checks, test sends, multi-client preview, accessibility, and ESP sync. - [Dynamic Content / Segmentation](https://learn.better.email/docs/Fundamentals/segmentation): Show different module content to different audiences inside one email -- recipient fields, saved segments, block variants, and preview profiles. - [Folders](https://learn.better.email/docs/Fundamentals/folders-and-access): Organize campaigns and define workspace boundaries with folders. - [Groups and access control](https://learn.better.email/docs/Fundamentals/groups-and-access-control): Enterprise controls for who can see and use templates, integrations, and folders. - [Feedback and approvals](https://learn.better.email/docs/Fundamentals/feedback-and-approvals): Revision-scoped comment pins, approver management, and pre-flight review checks before export. - [Audit trail](https://learn.better.email/docs/Fundamentals/audit-trail): Organization-level log of important platform changes (Enterprise). - [Keyboard shortcuts](https://learn.better.email/docs/Fundamentals/shortcuts): Core keyboard shortcuts in the Email Editor and Template Editor. ## Integrations - [Integrations overview](https://learn.better.email/docs/Fundamentals/integrations): How Better Email connects to ESPs to export merge tags, segmentation, and platform-specific code. - [Salesforce Marketing Cloud](https://learn.better.email/docs/Fundamentals/integrations/salesforce-marketing-cloud): Set up SFMC, create the API package, and sync recipient fields. - [ActiveCampaign](https://learn.better.email/docs/Fundamentals/integrations/active-campaign): Connect ActiveCampaign to Better Email. - [Mailchimp](https://learn.better.email/docs/Fundamentals/integrations/mailchimp): Connect Mailchimp, authenticate, and sync audience merge fields. - [HubSpot](https://learn.better.email/docs/Fundamentals/integrations/hubspot): Connect HubSpot and sync contact properties for recipient fields. - [Klaviyo](https://learn.better.email/docs/Fundamentals/integrations/klaviyo): Connect Klaviyo with a private API key and use it for template export. - [Agillic](https://learn.better.email/docs/Fundamentals/integrations/agillic): Connect Agillic and export templates into its template library. - [Braze](https://learn.better.email/docs/Fundamentals/integrations/braze): Connect Braze, export templates, and sync custom attributes. - [Customer.io](https://learn.better.email/docs/Fundamentals/integrations/customer-io): Connect Customer.io and export rendered HTML into newsletters and broadcasts. - [Sailthru](https://learn.better.email/docs/Fundamentals/integrations/sailthru): Connect Sailthru (Marigold Engage) and export templates. - [SAS CI 360](https://learn.better.email/docs/Fundamentals/integrations/sas-ci-360): Connect SAS Customer Intelligence 360 and manage exports as revisions. - [Custom HTML export](https://learn.better.email/docs/Fundamentals/integrations/custom-html-export): Render final HTML in Better Email for use outside a built-in ESP integration. ## API - [API overview](https://learn.better.email/docs/api): Public API docs for connecting external systems to Better Email. - [API quickstart](https://learn.better.email/docs/api/quickstart): Create an API key and make a first recipient fields request. - [Authentication](https://learn.better.email/docs/api/authentication): Use API keys with bearer authentication. - [Errors and conventions](https://learn.better.email/docs/api/errors): JSON error envelope, status codes, browser request guidance, and versioning conventions. - [Recipient fields reference](https://learn.better.email/docs/api/reference/recipient-fields): OpenAPI-generated reference for recipient field endpoints. ## Betty AI - [Betty AI](https://learn.better.email/docs/betty-ai): Better Email's AI assistant for marketers and template authors. - [Email Builder](https://learn.better.email/docs/betty-ai/email-builder): How Betty helps marketers work on the current email -- content, structure, and module updates. - [Template development](https://learn.better.email/docs/betty-ai/template-development): How Betty helps template authors with modules, settings, metadata, and code. - [AI metadata](https://learn.better.email/docs/betty-ai/ai-metadata): Template- and module-level guidance you define so Betty uses your design system well. - [Tone of voice](https://learn.better.email/docs/betty-ai/tone-of-voice): Organization-level setting that shapes Betty's writing style for subject lines, body copy, and CTAs. - [Skills](https://learn.better.email/docs/betty-ai/skills): Pre-defined prompt pills that trigger common Betty tasks in the Email Builder. ## Template development - [Template development overview](https://learn.better.email/docs/template-development): Section for designers and email developers building the system marketers use. - [Template Editor](https://learn.better.email/docs/template-development/template-editor): The full template authoring environment -- code, inputs, assets, metadata, preview, and revisions. - [Modules](https://learn.better.email/docs/template-development/modules): How to design reusable content blocks that are easy to recognize, configure, and maintain. ### Settings - [Settings overview](https://learn.better.email/docs/template-development/modules/settings): Define what marketers can edit, how editing is grouped, and how values flow into the email. - [Global settings & Global Script](https://learn.better.email/docs/template-development/modules/settings/global-settings): Cross-cutting values exposed under the `global.*` namespace, plus the Global Script for derived values. - [Repeatable settings](https://learn.better.email/docs/template-development/modules/settings/repeatable-settings): Let one module contain a list of items (products, links, FAQs) without duplicating code. - [Feeds in settings](https://learn.better.email/docs/template-development/modules/settings/feeds): Connect a module to external content via product feeds or other structured sources. - [Shared inputs](https://learn.better.email/docs/template-development/modules/settings/shared-inputs): Define an input once and reuse the exact configuration across multiple modules. ### Input types - [Text String](https://learn.better.email/docs/template-development/modules/input-types/text-string): The most basic single-line text input. - [Multi-line text](https://learn.better.email/docs/template-development/modules/input-types/multi-line-text): Compact rich text editor with bold, italic, links, merge tags, and more. - [Number](https://learn.better.email/docs/template-development/modules/input-types/number): Numeric value input. - [Boolean](https://learn.better.email/docs/template-development/modules/input-types/boolean): On/off switch input. - [Select](https://learn.better.email/docs/template-development/modules/input-types/select): Predefined dropdown of options. - [Color](https://learn.better.email/docs/template-development/modules/input-types/color): Pick from a predefined palette of hex colors. - [Link](https://learn.better.email/docs/template-development/modules/input-types/link): Standalone URL input. - [Image](https://learn.better.email/docs/template-development/modules/input-types/image): Upload and manage images in the Email Editor. - [imgTag filter](https://learn.better.email/docs/template-development/modules/input-types/image/imgtag): Liquid helper that renders a full email-safe `` tag from an Image input. - [resizeImage filter](https://learn.better.email/docs/template-development/modules/input-types/image/resize-image): Liquid helper that returns a resized image URL for custom HTML or background images. - [Validations](https://learn.better.email/docs/template-development/modules/input-types/validations): Per-input rules that gate review and export. ### How-to guides - [Bullet list](https://learn.better.email/docs/template-development/How-to/repeating-bullets): Email-safe alternative to `