Skip to content

Campaigns · 1 min read

Code Element in the Email Builder

The Code element lets you add your own HTML and CSS to an email. Use it for custom designs, tracking pixels or embeds from other tools.
Inboxes have limited support for custom code, so always test before you send.

Add custom code

  1. Go to Marketing → Emails → Templates.
  2. Open a template or click + New.
  3. Click Add Elements (+) in the left sidebar.
  4. Drag the Code element into your layout.
  5. Click the element to open the Edit tab.
  6. Paste or type your code in the code box:
  7. use HTML for structure, such as tables
  8. use inline CSS for styling, such as colors, spacing and fonts
  9. Click Preview to check how it looks.
  10. Check both desktop and mobile previews, then send yourself a test.

Tips

  • Use tables for structure and inline CSS for styling. They render most reliably in email.

Did this answer your question?

No, I need help

More in Campaigns