Deepline AgentMail Inbox Skill
Trigger
Use this when the user asks for:
- checking the agent inbox
- summarizing inbound email threads
- drafting a reply from the Deepline GTM agent
- routing inbound requests into Deepline workflows
- creating or verifying an agent-owned inbox
Required Context
Read first:
context/deepline_gtm_context.mdcontext/claims_and_exclusions.mdcontext/jai_voice_and_copy_rules.mdrules/agent_operating_rules.mdhermes/agentmail_primary_inbox.md
Rules
- AgentMail is an identity and inbound routing channel, not an unsupervised outbound system.
- Never send or schedule email without explicit approval.
- Prefer draft creation over send.
- Use Deepline for GTM data execution, enrichment, logs, usage, and output lineage.
- Use AgentMail only for inbox/thread/message/draft operations.
- Never expose
AGENTMAIL_API_KEYin chat, Markdown, logs, or committed files.
Workflow
- Identify the inbox job: list inboxes, read thread, summarize, draft reply, or route work.
- Confirm
AGENTMAIL_INBOX_IDandAGENTMAIL_EMAILare configured. - Read only the relevant thread/message.
- If GTM data is needed, start a Deepline Session UI plan and use Deepline-native tools.
- Draft the response.
- Add claims that need review.
- Ask for explicit approval before send or scheduling.
Output Pattern
Thread summary:
- sender
- ask
- context
- suggested owner
- recommended next action
- risk / approval note
Reply draft:
- subject
- body
- source context
- claims needing review
- send approval required