← 返回
未分类 Key

PortEden - Secure your calendar & email data.

Secured Calendar and Email management - Gmail, Outlook & Exchange - list, search, create, update, delete calendar events and list, search, read, send, reply,...
安全的日历和邮件管理 -Gmail、Outlook 和 Exchange - 列出、搜索、创建、更新、删除日历事件以及列出、搜索、读取、发送、回复邮件
porteden porteden 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 需要
★ 2
Stars
📥 385
下载
💾 0
安装
1
版本
#latest

概述

porteden

Use porteden for calendar and email management across multiple accounts. Use -jc flags for AI-optimized output.

If porteden is not installed: brew install porteden/tap/porteden (or go install github.com/porteden/cli/cmd/porteden@latest).

Setup (once)

  • Browser login (recommended): porteden auth login — opens browser, credentials stored in system keyring
  • Direct token: porteden auth login --token — stored in system keyring
  • Verify: porteden auth status
  • If PE_API_KEY is set in the environment, the CLI uses it automatically (no login needed).

Calendar commands

  • List calendars: porteden calendar calendars -jc
  • Events today (or --tomorrow, --week): porteden calendar events --today -jc
  • Events custom range: porteden calendar events --from 2026-02-01 --to 2026-02-07 -jc
  • All events (auto-pagination): porteden calendar events --week --all -jc
  • Search events: porteden calendar events -q "meeting" --today -jc
  • Events by contact: porteden calendar by-contact "user@example.com" -jc (or --name "John Smith")
  • Get single event: porteden calendar event -jc
  • Create event: porteden calendar create --calendar --summary "Meeting" --from "..." --to "..." --location "Room A" --attendees "a@b.com,c@d.com"
  • Update event: porteden calendar update --summary "New Title" (also: --from, --to, --location)
  • Update attendees: porteden calendar update --add-attendees "new@example.com" (or --remove-attendees; add --notify to send notifications)
  • Delete event: porteden calendar delete (add --no-notify to skip attendee notifications)
  • Respond to invite: porteden calendar respond accepted (or: declined, tentative)

Event Status Values

  • confirmed - Accepted/scheduled
  • tentative - Maybe attending
  • needsAction - Requires response from user
  • cancelled - Event was cancelled

Time Formats

  • All times use RFC3339 UTC format: 2026-02-01T10:00:00Z
  • For all-day events, use midnight-to-midnight with --all-day flag
  • JSON output includes startUtc, endUtc, durationMinutes fields

Email commands

Use porteden email (alias: porteden mail) for email management.

  • List emails (or --today, --yesterday, --week, --days N): porteden email messages -jc
  • Filter emails: porteden email messages --from sender@example.com -jc (also: --to, --subject, --label, --unread, --has-attachment)
  • Search emails: porteden email messages -q "keyword" --today -jc
  • Custom date range: porteden email messages --after 2026-02-01 --before 2026-02-07 -jc
  • All emails (auto-pagination): porteden email messages --week --all -jc
  • Get single email: porteden email message -jc
  • Get thread: porteden email thread -jc
  • Send email: porteden email send --to user@example.com --subject "Hi" --body "Hello" (also: --cc, --bcc, --body-file, --body-type text, --importance high)
  • Send with named recipient: porteden email send --to "John Doe " --subject "Hi" --body "Hello"
  • Reply: porteden email reply --body "Thanks" (add --reply-all for reply all)
  • Forward: porteden email forward --to colleague@example.com (optional --body "FYI", --cc)
  • Modify email: porteden email modify --mark-read (also: --mark-unread, --add-labels IMPORTANT, --remove-labels INBOX)
  • Delete email: porteden email delete

Notes

  • Credentials persist in the system keyring after login. No repeated auth needed.
  • Set PE_PROFILE=work to avoid repeating --profile.
  • -jc is shorthand for --json --compact: filters noise, truncates fields, reduces tokens.
  • Use --all to auto-fetch all pages; check hasMore/nextPageToken (email) or meta.hasMore/meta.totalCount (calendar) in JSON output.
  • Calendar manual pagination: --limit 100 --offset 0, then --offset 100, etc.
  • by-contact supports partial matching: "@acme.com" for email domain, --name "Smith" for name.
  • Email IDs are provider-prefixed (e.g., google:abc123, m365:xyz789). Pass them as-is.
  • --include-body on messages fetches full body (default: preview only). Single message includes body by default.
  • --body and --body-file are mutually exclusive. Use --body-type text for plain text (default: html).
  • Confirm before sending, replying, forwarding, or deleting emails.
  • Confirm before creating, updating, or deleting events.
  • "invalid calendar ID": Get IDs with porteden calendar calendars -jc.
  • Environment variables: PE_API_KEY, PE_PROFILE, PE_TIMEZONE, PE_FORMAT, PE_COLOR, PE_VERBOSE.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-12 05:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 928 📥 186,911
office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 382 📥 144,878
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 458 📥 152,339