Author profile
Qasim Muhammad
Staff SRE
Qasim writes and maintains the Nylas CLI guides, with a focus on email automation, MCP, AI agents, and production-safe workflows. His work connects command behavior, live verification, and AI-readable documentation so developers can use the CLI safely in scripts and agent runtimes.
Areas of expertise
- Email APIs
- CLI tools
- Developer tools
- AI agents
- Model Context Protocol
Guides on this site
- Gmail API batchDelete: Bulk Delete Messages
Gmail API batchDelete permanently removes up to 1,000 message IDs per request, skipping trash. Limits, scopes, quota costs, and safer bulk-delete patterns.
- Extract Email Data from JSON with jq
jq recipes for email JSON: pull sender addresses, regex-scan addresses from any payload, group senders by domain, export CSV, and guard against empty input.
- AI Agent Audit Dashboard from the CLI
Build an audit dashboard for AI agent activity: per-agent command counts, error rates, session replay, and cron snapshots from nylas audit logs and jq.
- Monitor Email Integration Health from Terminal
Schedule nylas doctor health checks in cron, track API error rates from audit logs, test webhook endpoints, and send an alert email when a check fails.
- Email Threads from Terminal: List, Read, Reply
List, read, and reply to email threads from the terminal with Nylas CLI. Group conversations by subject, navigate replies, and mark them as read in one command.
- Calendar API Compared: Google, Microsoft, CalDAV
Google Calendar API, Microsoft Graph, and CalDAV each handle auth and events differently. Compare all three to find the right calendar integration for your app.
- Attendee vs Recall.ai: Meeting Bots Compared
Compare Attendee, Recall.ai, and Nylas Notetaker for meeting recording and transcription. Platform support, pricing, API access, and CLI integration compared.
- Getting Started with Agent Accounts
How Nylas Agent Account works. Architecture from Application to Workspace, inbound and outbound email flows, and why managed email replaces SMTP for AI agents.
- Gmail Labels API: Create and Manage
Manage Gmail labels with the Gmail API. Create, list, modify, and apply labels to messages. Batch label operations, system vs user labels, and CLI alternatives.
- Send Email with Attachments from CLI
Send files from the command line without MIME encoding, Postfix, or mutt config. One command attaches PDFs, CSVs, logs, and images across Gmail and Outlook.
- PowerShell Email: Every Method Compared
Send email from PowerShell after Send-MailMessage deprecation. Compare Send-MgUserMail, Graph REST, MailKit, and CLI tools for scripts, reports, and CI/CD.
- Send Email from Python: SMTP, API, and CLI
Send email from Python with smtplib SMTP, Gmail API with OAuth 2.0, or CLI subprocess calls. Compare setup time, security, and provider coverage for each.