These docs are for v0.1.0. Click to read the latest docs for v1.0.0.

Front.reply(options, replyAll)

Send a reply to the latest message of the current conversation. Will do nothing unless a conversation is selected.

options: object

Field Name

Type

Description

to (optional)

String array

An array of recipients, that can be an email address, a phone number, or a Twitter handle.

cc (optional)

String array

An array or recipients, that can be an email address. See

bcc (optional)

String array

An array of recipients, that can be an email address.

body (optional)

String

The content of your message. If you have any, a signature will be appended.

subject (optional)

String

Used as subject for emails. If omitted, it will reply with the previous subject prefixed by Re: .

attachment_uids (optional)

Int array

An array of attachment UIDs to attach to the new draft. UIDs can be found in the messages of the current select conversation (UIDs not found in the conversation will be ignored).

replyAll: boolean

Transform a simple reply to a reply all if set to true.

Front.reply({
    to: ['someone@somewhere.com'],
    subject: 'Optional subject',
    body: 'Optional body',
    attachment_uids: []
}, replyAll);