Command

nylas email send

Send an email. Supports scheduling, GPG signing/encryption, and tracking.

Usage

nylas email send --to EMAIL --subject SUBJECT --body BODY [options]

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--toRecipient email address
--ccCC recipients
--bccBCC recipients
--subjectEmail subject
--bodyEmail body (plain text)
--scheduleSchedule send (e.g. 2h, tomorrow 9am)
--signSign with GPG
--encryptEncrypt with recipient's GPG key
--track-opensTrack email opens
--track-linksTrack link clicks
--metadataCustom key=value metadata (repeatable)

Examples

Basic send

nylas email send --to user@example.com --subject "Quick note" --body "Hello!" --yes

Schedule for later

nylas email send --to team@company.com --subject "Reminder" --body "..." --schedule 2h

GPG signed and encrypted

nylas email send --to legal@partner.com --subject "Contract" --body "..." --sign --encrypt

Troubleshooting

Send fails with auth error

Run nylas auth config and nylas auth login to connect an account.

GPG encrypt fails

Ensure recipient has a public key. Use nylas email send --list-gpg-keys to verify your keys.

Recommended guides

Run nylas email send --help for full help output.