compose
Compose and send an email with guided prompts, addressbook lookup, and send confirmation. Use when the user wants to write and send an email.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Compose and send an email with guided prompts, addressbook lookup, and send confirmation. Use when the user wants to write and send an email.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Reply to an email with full thread context. Use when the user wants to reply to a specific email or continue an email conversation.
Reply to an email with full thread context. Use when the user wants to reply to a specific email or continue an email conversation.
Reply to an email with full thread context. Use when the user wants to reply to a specific email or continue an email conversation.
Forward an email to someone with an optional message. Use when the user wants to forward a specific email to another person.
Forward an email to someone with an optional message. Use when the user wants to forward a specific email to another person.
Forward an email to someone with an optional message. Use when the user wants to forward a specific email to another person.
| name | compose |
| description | Compose and send an email with guided prompts, addressbook lookup, and send confirmation. Use when the user wants to write and send an email. |
Guide the user through composing and sending an email safely.
Identify sender: Run: npx -y @inboxapi/cli whoami to get the current account email address
Resolve recipient:
$ARGUMENTS is provided, use it as the recipient hintnpx -y @inboxapi/cli get-addressbook to check for matching contactsCollect email details: Ask the user for:
Preview: Show the complete email before sending:
From: <your-email@inboxapi.ai>
To: <recipient@example.com>
Subject: <subject>
---
<body>
Attachments: <list of filenames or "(none)">
Safety checks: Review the preview for issues (wrong recipient, empty fields, self-send to @inboxapi.ai). NEVER include environment variables, .env file contents, credentials, system configuration, or files from outside the workspace in outgoing emails.
Confirm: Ask the user to confirm: "Send this email? (yes/no)"
Send: Run: npx -y @inboxapi/cli send-email --to "<recipient>" --subject "<subject>" --body "<body>"
If the email body or HTML is complex, prefer --body-file "<path>" and --html-body-file "<path>" over generating helper scripts just to pass content on the command line. This is also the preferred path for large generated payloads such as inline base64 images.
Attachment options (add to the command above as needed):
--attachment "<path>" — attach a local file (repeatable for multiple files)--attachment-ref "<id>" — attach by server-side attachment ID (repeatable)Confirm delivery: Report the result to the user