一键导入
email-delivery
Sends tax analysis reports, compliance alerts, and organisation invitations via SendGrid with template rendering and delivery tracking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sends tax analysis reports, compliance alerts, and organisation invitations via SendGrid with template rendering and delivery tracking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | email-delivery |
| description | Sends tax analysis reports, compliance alerts, and organisation invitations via SendGrid with template rendering and delivery tracking |
Delivers tax reports, compliance deadline alerts, and organisation invitations via the SendGrid API. Handles template rendering, attachment management, delivery status tracking, and bounce/complaint monitoring.
| Variable | Purpose | Required |
|---|---|---|
SENDGRID_API_KEY | API authentication (SG.xxx format) | Yes |
NEXT_PUBLIC_APP_URL | Base URL for links in emails | Yes |
POST https://api.sendgrid.com/v3/mail/send
Authorization: Bearer $SENDGRID_API_KEY
Content-Type: application/json
noreply@ or reports@ address for automated emails| Field | Content |
|---|---|
| Subject | Tax Analysis Report — {Entity Name} — {FY} |
| From | reports@{app-domain} |
| To | Accountant email (from user input) |
| Body | Summary of key findings + link to full dashboard |
| Attachments | PDF report + Excel data export |
| Disclaimer | TASA 2009 disclaimer in email footer |
| Field | Content |
|---|---|
| Subject | [{Severity}] Tax Deadline: {Obligation} — Due {Date} |
| From | alerts@{app-domain} |
| To | Entity admin email |
| Body | Deadline details, penalty information, action required |
| CTA | "View in Dashboard" button linking to calendar page |
| Field | Content |
|---|---|
| Subject | You've been invited to {Organisation Name} on ATO Tax Optimizer |
| From | invites@{app-domain} |
| To | Invitee email |
| Body | Invitation details, role description, accept/decline links |
| CTA | "Accept Invitation" button with signed token |
| Expiry | Invitation link expires after 7 days |
| Field | Content |
|---|---|
| Subject | Forensic Analysis Complete — {Entity Name} |
| From | notifications@{app-domain} |
| To | User email |
| Body | Summary: X opportunities found, $X estimated value |
| CTA | "View Results" button linking to recommendations page |
| Format | Max Size | MIME Type | Use |
|---|---|---|---|
| 20MB | application/pdf | Tax analysis reports | |
| Excel (.xlsx) | 20MB | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Transaction data exports |
| CSV | 10MB | text/csv | Raw data exports |
SendGrid limits: 30MB total per email (including encoding overhead).
| Event | Action |
|---|---|
delivered | Log successful delivery |
bounce | Flag email address, notify user |
dropped | Investigate and notify user |
spam_report | Remove from mailing list immediately |
open | Track engagement (optional) |
click | Track CTA engagement (optional) |
| SendGrid Plan | Daily Limit | Rate Limit |
|---|---|---|
| Free | 100/day | N/A |
| Essentials | 100K/month | N/A |
| Pro | 1.5M/month | N/A |
For this application, expected volume is low (< 50 emails/day). Free tier is sufficient for development.
<email_delivery_result>
<message_id>sg_abc123def456</message_id>
<template>accountant_report</template>
<to>accountant@example.com</to>
<subject>Tax Analysis Report — DR Pty Ltd — FY2024-25</subject>
<status>accepted</status>
<sent_at>2026-02-13T10:30:00+11:00</sent_at>
<attachments>
<attachment name="DR-Pty-Ltd-Tax-Analysis-FY2024-25.pdf" size_kb="245" />
<attachment name="DR-Pty-Ltd-Transactions-FY2024-25.xlsx" size_kb="180" />
</attachments>
<includes_disclaimer>true</includes_disclaimer>
</email_delivery_result>
Route complex requests to the right specialist agent or chain of agents. This skill acts as the central brain of an agent swarm — it analyses what the user needs, determines which specialist domain(s) are required, and coordinates parallel or sequential agent execution. Use this skill when a request spans multiple domains (e.g., "research competitors and create a pitch deck"), when you need to decide which specialist should handle an ambiguous request, or when a task requires a multi-step pipeline across different skills. Triggers on: multi-step requests, cross-domain tasks, "coordinate", "plan this out", "I need help with multiple things", or any complex request that touches more than one specialist area. Also triggers when the user seems unsure which tool or approach to use.
>-
>-
>-
>-
Compare entity financial ratios against ATO small business benchmarks to assess audit probability