DEV Community

Qasim Muhammad
Qasim Muhammad

Posted on

Working with nylas email scheduled list: List emails scheduled for future delivery

List emails scheduled for future delivery. Works across Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP.

The nylas email scheduled list command shows all emails queued for later delivery, including their scheduled send time and recipient. Use it to review or cancel pending scheduled messages.

Syntax

nylas email scheduled list [--limit N] [--json]
Enter fullscreen mode Exit fullscreen mode

Examples

List all scheduled emails:

nylas email scheduled list
Enter fullscreen mode Exit fullscreen mode

Cancel a scheduled email:

# First find the scheduled email ID
nylas email scheduled list --json | jq '.[0].id'
# Then delete it before it sends
nylas email delete --id msg_scheduled_abc123 --force
Enter fullscreen mode Exit fullscreen mode

Tips

Pipe to jq: nylas email scheduled list --json | jq '.' gives you structured data you can filter and transform.

Combine with other commands: Chain nylas email scheduled list with other Nylas CLI commands using shell pipes and variables for complex workflows.

How It Works

The Nylas CLI abstracts away the differences between Gmail's API, Microsoft Graph, Exchange Web Services, and raw IMAP. You write one command; it works across all providers. This matters for automation — your cron job or CI pipeline doesn't need provider-specific logic.

Related Commands


Full docs: nylas email scheduled list reference — all flags, advanced examples, and troubleshooting.

All commands: Nylas CLI Command Reference

Get started: brew install nylas/nylas-cli/nylasother install methods

Top comments (0)