Email

Preview

Reading, drafting and sending under approval.

Email is a communication effect: irreversible, externally visible and attributable to a person. Sending is gated by default and cannot be silently enabled by a task.

OperationEffect classDefault
email.search / readread_externalAllowed with scope
email.draftworkspace_writeAllowed
email.sendcommunicationApproval required
email.replycommunicationApproval required
email.label / archiveexternal_writeAllowed with scope
ts
await pimsy.tasks.create({
  objective:
    class="tok-str">"Each morning, summarize unread mail from customers, group by theme, and draft replies " +
    class="tok-str">"for the three most urgent threads. Do not send anything.",
  capabilities: [class="tok-str">"connector.email"],
  tools: { deny: [class="tok-str">"email.send", class="tok-str">"email.reply"] },
  schedule: { cron: class="tok-str">"class="tok-num">0 class="tok-num">8 * * class="tok-num">1-class="tok-num">5", timezone: class="tok-str">"Europe/Berlin" }
});

Last updated 2026-09-07