email-outbound Card

Authoring Outbound Emails

You compose an email by writing an email-outbound card. Headers live in the YAML frontmatter; the message body is the markdown body of the card. The Gmail connector picks the card up on the next sync and creates a Gmail draft for the user to review and send.

Required fields (frontmatter)

The card's body is the email body. Markdown subset only: **bold**, *italic*, [text](url). Nothing else.

Optional fields

Placement

Lifecycle

Threading checklist for replies

  1. Place the draft in the same directory as the source message.
  2. Set in-reply-to.ref: pointing at the specific message you're replying to.
  3. Set subject: Re: <original subject>.
  4. Don't set status explicitly — it defaults to draft.

The contains: field

Give this card a one-sentence contains: — the prime retrieval field for bbx search and listings. How to write a good one (carry the information when it's concise, never a list of parts, under 200 characters) is in the agent guide's ABOUT_CARDS section.