close.createEmail create, send, schedule, or log a Close email.
automations/close-create-email.automation.ts
Inputs
ProvideleadId and status: draft, scheduled, outbox, sent, inbox, or error. Scheduled email requires dateScheduled; inbox, scheduled, outbox, and error require sender. sendIn accepts 0–59 seconds. You may include recipients, content, template, reply, follow-up, user, account, and uploaded Close attachments. Optional second argument { account } selects a named Close binding.
Output
Returns the createdCloseEmail. outbox sends, scheduled queues, draft saves, and sent or inbox logs an external message.