Author profile
Prem Keshari
Senior SRE
Prem Keshari works on infrastructure, monitoring, and operational reliability for Nylas services, and studied at Trinity College Dublin. His day-to-day spans the platform's observability and deploy tooling. His guide work emphasizes deploy-safe setup, observability, and the reliability checks behind CLI-driven email and calendar automation.
Areas of expertise
- Site Reliability
- Infrastructure
- Monitoring
- DevOps
Profiles
Guides on this site
- Book meeting rooms from the CLI
Book meeting rooms from the CLI by listing calendar resources, using each room email as a calendar ID, and adding it as an event participant with less setup.
- OfflineIMAP vs Nylas: Python IMAP sync
OfflineIMAP is a Python tool that syncs IMAP mail to local Maildir. Compare its config, Gmail OAuth2, sync speed, and an API email CLI that skips the mirror.
- Microsoft Graph Mail Folders API
List Microsoft Graph mail folders, address well-known folder names, walk child folders, read item and unread counts, and filter on displayName by terminal.
- Google Calendar API Error Codes
A reference for the Google Calendar API errors developers hit most: 403 rate limits, 410 fullSyncRequired, 412, 429 and 401. What each means and how to fix it.
- Microsoft Graph calendarView Explained
Query the Microsoft Graph calendarView endpoint for events in a date range with recurrences expanded. Compare it to list events and read calendars from the CLI.
- Build a BabyAGI Email Agent
Give a BabyAGI agent email by registering the Nylas CLI as a task-execution tool — one subprocess call per action, JSON in and out, across 6 providers.
- Build an OpenHands Email Agent
Give an OpenHands agent email by installing the Nylas CLI in its sandbox — it runs nylas email as a shell command, JSON out, across 6 providers, no SDK.
- Build a KYC Document-Collection Agent
An AI agent on a dedicated inbox requests KYC documents, reads each upload, chases what's missing, and routes the complete files to your compliance team.
- Revoke an AI Agent's Email Access
When a user disconnects or offboards, revoke the AI agent's OAuth grant to their mailbox. List the grants, revoke by ID, and confirm the access is gone.
- Courier vs Nylas: Notifications vs Email
Courier.com orchestrates outbound notifications — email, SMS, push, Slack. Nylas reads mailboxes, syncs calendars, and supports AI agents. Scope comparison.
- Build a Feedback-Request Email Agent
Send post-purchase feedback requests from an agent inbox, classify replies as positive, negative, or feature requests, and route negatives to a human fast.
- Detect Calendar Conflicts from the CLI
Spot double-booked meetings and overlapping events from the terminal. AI conflict detection and jq scripts catch calendar conflicts before they derail your day.