Author profile
Pouya Sanooei
Software Engineer
Pouya builds developer tooling and backend systems for email API workflows. His guides cover CLI internals, agent-account workflows, and the commands developers use to send, read, and automate mailbox activity.
Areas of expertise
- Software Engineering
- Email APIs
- Go
- CLI tools
Profiles
Guides on this site
- Python smtplib Wrapper: Build or Skip It
Build a thin wrapper around smtplib.SMTP with TLS defaults, retries, and connection reuse in 35 lines, and learn when a CLI call beats maintaining one.
- Gmail API Sandbox: Test Email Integrations
Gmail has no API sandbox. Compare the real options: a dedicated test account, the Amazon SES sandbox, fake SMTP inboxes, and nylas demo with sample data.
- Build Reliable Email Automation: 5 Patterns
Email automation fails silently: expired tokens, rate limits, duplicate sends. Five patterns fix it: exit codes, retries, idempotency, drafts, audit logs.
- Email Webhook Events: Developer Reference
Trigger types, payload shapes, retry behavior, and HMAC signature verification for Nylas email, calendar, contact, and grant webhook events — one place.
- Manage Contacts from Terminal
List, search, create, and update contacts from the command line. Export to CSV, manage contact groups, and sync address books across Gmail and Outlook.
- Send Email from Node.js
Send email from Node.js with Nodemailer SMTP, Gmail API client library, or CLI subprocess calls. Compare setup time, authentication, and provider support.
- Sync Calendars Across Providers
Compare ICS export, CalDAV, Google Calendar API syncToken, and Microsoft Graph delta queries for cross-provider calendar sync from the terminal.
- Read Email from Your Terminal
Compare NeoMutt, aerc, and Nylas CLI for reading email in the terminal. Setup time, IMAP config, search, multi-provider support, and JSON scripting output.
- Create an AI Agent Email Identity
Set up a managed email identity for an AI agent. Create a dedicated inbox, send and receive in 2 minutes — no OAuth setup or third-party mailbox needed.
- Google Calendar Ownership Changes
Personal accounts lose orphan secondary calendars April 27, 2026. Workspace follows October 5, 2026. New ownership transfer API arrives June. Prepare now.
- Recall.ai vs Nylas for AI Agent Email
Compare Recall.ai and Nylas CLI for AI agent communication. One handles meeting recordings, the other handles email and calendar. Pick the right tool.
- Record Zoom, Meet, and Teams from the CLI
Send a notetaker bot to any Zoom, Google Meet, or Microsoft Teams call from the command line. Get the recording URL and a full transcript back as JSON.