porteden-email
by porteden
Search & ResearchBrief
PortEden Secure Email CLI for email management - Gmail, Outlook & Exchange - list, search, read, send, reply.
Description
What This Skill Does
Manages email across Gmail, Outlook, and Exchange accounts via the porteden CLI. Supports listing, filtering, searching, sending, replying, forwarding, and modifying emails. Outputs compact JSON optimized for agent workflows with the -jc flag.
The -jc flag strips attachment details and truncates previews into compact, token-efficient JSON, making email data practical to pass directly into LLM prompts or agent pipelines.
When to Use It
- Search this week's emails from a specific sender
- Send a quick email from a terminal script
- Forward a thread to a teammate with an added note
- Mark emails as read after an automated agent review
- Filter today's unread emails that include attachments
Example Workflow
User asks: Find unread emails from my manager this week and reply to the latest one
- 1
Run porteden email messages --unread --from manager@example.com --week -jc to list matching emails
- 2
Identify the most recent email ID from the JSON output
- 3
Run porteden email message <emailId> -jc to fetch the full body
- 4
Compose a reply based on the email content
- 5
Run porteden email reply <emailId> --body "<drafted reply>" to send
Reply sent to the manager's latest email
Requirements
- porteden account at porteden.com
- PE_API_KEY environment variable (or browser login via porteden auth login)
Installation
clawhub install porteden/porteden-emailRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.