Edit the signature
settings_send_as_patchReplace the signature of the address the mailbox sends from by default. Nothing of the old one is kept; settings_send_as_get reads it beforehand. An empty signature clears it. Where that address is not the one a Gmail mailbox signs in with, Gmail lets only its own settings change it, and the call is refused. An Outlook mailbox, or one whose provider is imap, keeps no signature a tool reaches, so Lumman keeps this one for it, written as signature or taken with fromDraft from a draft of that mailbox: its formatting, tables and links to web, mail and phone addresses, a picture it links to as that link, and the pictures a draft's signature block holds, at most 10000 bytes once kept, its pictures counted. Written markup keeps a picture only where it names one the kept signature already holds, as cid:. For a mailbox whose provider is imap, displayName sets the name its mail goes out under instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | The mailbox's name or its email address. | |
| fromDraft | No | For an Outlook mailbox, or one whose provider is imap: a draft of that mailbox whose signature block - the one its mail app or Lumman marked - is kept with the pictures it holds. Reading it needs messages_get turned on for that mailbox. Left out where signature or displayName is given. | |
| signature | No | The signature, as HTML. Gmail sanitises it; for an Outlook mailbox, or one whose provider is imap, Lumman keeps what a signature needs of it. Left out where fromDraft or displayName is given. | |
| displayName | No | For a mailbox whose provider is imap: the name its mail goes out under beside its address, replacing any taken from its sent mail. Left out where signature or fromDraft is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pictures | No | The pictures the signature shows by content id, as cid:<id> in its markup, without their bytes. | |
| signature | No | ||
| displayName | No | For a mailbox whose provider is imap, the name its mail goes out under beside its address. | |
| sendAsEmail | Yes |