Blocks

Send email

The send email step: zero-setup email through MadMax's sender — templated recipients and subject, markdown body, optional button.

Send an email with nothing to connect — no SMTP, no API key. Mail goes through MadMax's own sender (workflows@mail.madmax.build) wearing the MadMax chassis: dark shell, your workspace and workflow names in the header, run metadata in the footer.

Config

The send email step in the Inspector Recipients, subject, markdown body — all template-rendered.

  • To — up to 5 addresses, comma-separated, template-rendered: {{ payload.email }}, ops@example.com.
  • Subject — template-rendered.
  • Bodymarkdown: links, bold, lists, tables, code blocks all render; a plain-text part is generated automatically.
  • Reply-to — optional but set it: replies otherwise go to the platform sender.
  • Button — optional label + URL adds a call-to-action button under the body.

Output

{ "ok": true, "id": "<message id>", "to": ["ops@example.com"], "subject": "…" }

Patterns

  • Digest — gather → aggregatesummarize → one email.
  • Notify + act — the button URL deep-links to the thing needing attention.
  • For approve/reject decisions, use approval's built-in email instead of building your own.

Gotchas

  • The from-line is fixed (platform sender) — sending from your own domain isn't this step; that's what per-workspace daily caps and the 5-recipient limit protect.
  • Template the recipient only from fields you trust — a malformed upstream email field fails the send.