Send Email
Sends an email to a contact through the lemlist inbox. Set replyToActivityId to reply within an existing thread (reuses the thread’s subject and CC).
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
Sender user ID
Sender email address
Sender mailbox ID
Email message (HTML)
Contact ID. Provide either contactId or leadId (not both required). Returned in the response.
Lead ID. Provide either contactId or leadId; when only leadId is sent, its contact is resolved and returned as contactId in the response.
Email subject. Required for a standalone email; on a reply (replyToActivityId set) omit to reuse the thread's subject.
CC email addresses. On a reply, omit to inherit the thread's CC; pass a list to override, or an empty array to send without CC.
Reply within an existing email thread. Pass a specific email activity ID (act_...) or "latest" for the contact's most recent email. Threads the message (In-Reply-To) and reuses the thread's subject. Omit to send a standalone email. If "latest" and the contact has no prior email, a standalone email is sent.