Send an email
send_emailSend one email to one recipient: transactional (receipt, code, alert) or marketing (category). It goes out as HTML in a branded template with a text part; give text, html or both. Uses 1 email of today's allowance. Many recipients at once: send_campaign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address. | |
| code | No | The code for template code. | |
| from | No | Name before the @ (e.g. hello). The domain is always email59.com. Optional. | |
| html | No | HTML body. | |
| text | No | Plain-text body. Give text, html or both. | |
| brand | No | This email's look; the account's brand otherwise. | |
| heading | No | ||
| list_id | No | Marketing only: your name for the audience. | |
| subject | Yes | ||
| category | No | Default transactional. marketing: always has the unsubscribe link and skips role addresses and people who unsubscribed. | |
| reply_to | No | Optional. One address of your own (not at email59.com) where answers should go. Without it the email says replies are not received. | |
| template | No | Layout. basic (default), code (one-time code, give code), notice (heading and one button), report (wide tables), letter (personal). | |
| preheader | No | Preview text shown after the subject. | |
| button_url | No | ||
| button_text | No |