Documentation Index
Fetch the complete documentation index at: https://docs.affzero.com/llms.txt
Use this file to discover all available pages before exploring further.
What it does
The Send Email step sends an email via your configured Gmail SMTP account. It supports full HTML formatting, variable substitution from previous steps, and optional invoice attachments.When to use it
- Sending weekly or monthly affiliate performance reports
- Delivering generated invoices as email attachments
- Notifying affiliates when a condition is met (e.g. payout threshold reached)
- Sending AI-generated performance summaries
Configuration
Send From
Select which Gmail account to send from. The dropdown shows all Gmail SMTP accounts you’ve connected in Providers → Email (labeled with the Gmail address). If you have multiple accounts, pick the one appropriate for this automation. If you haven’t set up an email service yet, go to Providers → Email first.Recipients
Enter one or more recipient email addresses, separated by commas. As you type, AffZero shows a dropdown of previously used addresses — select one with the arrow keys and press Enter or Tab, or click it. This history is stored encrypted and is private to your account.Subject
Write the email subject line. You can include variables — for example:Email Body
The body editor supports full rich text formatting and HTML. Use the Variables Available panel on the left to browse and insert variables at the cursor position. Example body:Using a Template
Instead of composing from scratch, you can select a saved email template from the Template dropdown. The template’s subject and body are loaded into the editor, where you can further customize before saving. See Email Templates for how to create and manage reusable templates.Generate with AI
Click Generate with AI in the email editor to have AffZero AI write a draft subject and body based on the variables available. You can describe the tone and purpose — for example: “Write a professional affiliate performance update highlighting their payout and top offer.”Invoice Attachment
If a previous Create Invoice step ran in the automation, its generated PDF can be attached to this email. Toggle Attach Invoice and select which invoice step’s output to attach.How Variables are Substituted
When the automation runs, AffZero replaces every{variable_name} placeholder in the subject and body with the actual value from the corresponding step. If a variable is not found, it’s left as-is (with the curly braces), which usually means the variable name was mistyped.

