Skip to content

Compose

Compose is Herald’s writing screen. It supports normal message composition, replies, forwards, CC/BCC, Markdown preview, file attachments, address autocomplete, draft auto-save, AI rewrite assistance, AI subject suggestions, and send error recovery.

Press 2 to open Compose. Compose sends through the configured SMTP server and can be opened directly or pre-filled by Timeline reply, Timeline forward, or quick reply workflows.

AreaWhat it shows
To fieldPrimary recipients. Autocomplete searches contacts once the current token has enough characters.
CC fieldCarbon-copy recipients with the same autocomplete behavior.
BCC fieldBlind-copy recipients with the same autocomplete behavior.
Subject fieldMessage subject and optional AI-generated subject hint.
Body fieldMarkdown-capable message body.
Markdown previewRendered body preview using Glamour when ctrl+p is active.
Attachment linesAttached file paths or filenames after files are added.
Attachment path promptOne-line path input opened by ctrl+a.
Autocomplete dropdownUp to several contact suggestions with selected row and hidden-count note when compressed.
AI assistant panelCustom prompt input, quick rewrite actions, generated response, and accept behavior.
Compose statusValidation errors, send state, AI messages, attachment errors, and draft status.
KeyContextPreconditionsResult
tabCompose fieldsNo autocomplete selection is being accepted and no subject hint is pending.Moves focus To -> CC -> BCC -> Subject -> Body -> To.
tabSubject hintAI subject hint is visible.Accepts the suggested subject.
ctrl+sComposeSMTP configured, To not empty, Subject not empty.Sends the message with Markdown-derived HTML/plain text and attachments.
ctrl+pComposeAny draft.Toggles Markdown preview.
ctrl+aComposeAttachment prompt not already active.Opens file path input for adding an attachment.
enterAttachment promptAttachment prompt active.Adds the expanded path as an attachment.
escAttachment promptAttachment prompt active.Cancels attachment input.
ctrl+gComposeAI backend configured.Opens or closes the AI assistant panel.
enterAI prompt fieldAI assistant prompt has text.Sends the custom instruction to the AI assistant.
1 to 5AI panelAI panel open and body is not empty.Runs quick actions: improve, shorten, lengthen, formal, or casual.
ctrl+enterAI panelAI response is available.Replaces the body with the AI response and closes the panel.
ctrl+jComposeAI configured and body or reply context exists.Requests an AI subject suggestion.
escComposeSubject hint, AI panel, or compose status is active.Clears the subject hint, closes AI panel, or clears status.
up / downAutocomplete dropdownSuggestions are visible.Moves the selected suggestion.
enter / tabAutocomplete dropdownSuggestions are visible.Accepts the selected suggestion into the active address field.
escAutocomplete dropdownSuggestions are visible.Dismisses suggestions.
1 / 3 / 4Compose tabMain Compose handler active.Switches to Timeline, Cleanup, or Contacts.
  1. Press 2.
  2. Enter at least one To recipient.
  3. Press tab through CC, BCC, Subject, and Body as needed.
  4. Write the body.
  5. Press ctrl+p to inspect Markdown rendering when desired.
  6. Press ctrl+s.
  1. Press ctrl+a.
  2. Type or paste a file path. ~ is expanded.
  3. Press enter.
  4. Confirm the attachment line appears.
  5. Send normally.
  1. Type part of a name or email in To, CC, or BCC.
  2. When suggestions appear, use up/down to select.
  3. Press enter or tab to insert the contact.
  4. Continue typing more recipients.
  1. Write body text first.
  2. Press ctrl+g.
  3. Press 1 through 5 for a built-in rewrite or type a custom instruction and press enter.
  4. Review the AI response.
  5. Press ctrl+enter to accept it into the body, or esc to close the panel.
  1. In Timeline, select a message.
  2. Press R to reply or F to forward.
  3. Compose opens with recipient, subject, and body context pre-filled.
  4. Finish the message and press ctrl+s.
StateWhat happens
Empty required fieldsctrl+s reports a send error when To or Subject is empty.
SMTP not configuredSend reports that SMTP is unavailable.
Markdown previewBody is rendered as styled preview rather than the edit textarea.
Attachment inputKey input is captured by the path prompt until enter or esc.
Large attachment warningAttachment add flow can warn when a file is larger than the configured threshold.
Autocomplete compactSuggestions collapse to a single line when vertical space is tight.
AI unavailablectrl+g and ctrl+j report no AI backend configured.
AI loadingThe assistant waits for provider output and then displays a response.
Draft savedCompose auto-saves drafts about every 30 seconds when there is content.
Send successFields clear, saved draft is deleted, and status reports send success.
Send errorDraft content remains available so you can fix configuration or message fields.

Compose reads contacts for autocomplete and writes drafts through Herald’s backend. Sending uses SMTP credentials from config and sends the full message, recipients, Markdown-derived bodies, and attachments to the SMTP server. AI assistance sends draft text and optional reply context to the configured AI backend. Attached files are read from local disk when added or sent.

If autocomplete does not appear, keep typing until the current token is long enough and confirm contacts have been imported or learned from mail.

If ctrl+s does not send, read the compose status for missing To, missing Subject, SMTP configuration, or provider errors.

If an AI subject suggestion appears but you do not want it, press esc. If you do want it, press tab.

If a send error occurs after attaching files, verify the file still exists and that your provider accepts the message size.