All Templates

inbox.dog connects to your Gmail and automates email workflows. Install this template to add a ready-to-use agent that handles specific tasks in your inbox.

Self-Learning Email Assistant

automation

Self-Learning Email Assistant

7-day free trial · No credit card

How This Works

01

Watches for

is:inbox is:unread AND (subject contains: help, support, question, request OR has:attachment OR from:important-contact-domain.com)

02

Then does

1) Run analyze on the email to extract intent, urgency, sentiment, and key questions. 2) Use getThread to collect prior messages for context. 3) If the message has attachments, run readAttachment to extract text. 4) Query searchDocuments and fetchUrl (if links present) to find factual answers, product docs, or knowledge to cite. 5) Use recall to find memories about this sender (tone preference, past successful reply templates, known contacts). 6) Generate a draft reply tailored to intent and sender preferences. 7a) If confidence is high (clear factual answer and matches past successful pattern): send the reply using reply, add label "Auto-Replied", markAsRead, and archive the thread. 7b) If confidence is medium/low or the message is high-risk/ambiguous: createDraft and add label "Needs Review"; do not send. 8) After sending or creating a draft, call remember to store: sender_preference, template_id (or a short summary of the reply), and outcome_flag:pending. 9) scheduleLater a follow-up check (using fetchEmailsSince) 3 days later to see if the sender replied; if no reply, send a polite follow-up via reply and update memory outcome_flag accordingly. 10) Weekly: createFile containing a summary of recent learned templates, success rates, and common preferences, then send that file to the configured analytics webhook using webhook for human review and optional updateAgentConfig with refined systemPrompt if authorized.

Two Ways to Use

Chat to Execute

Talk to your agent anytime. Ask it to find emails, test responses, or take actions on demand—no automation needed.

Turn On to Automate

Activate your agent and it monitors your inbox. When matching emails arrive, it acts automatically and keeps you in the loop.

What inbox.dog Agents Can Do

Every agent can read, search, and act on your Gmail. Here's what's possible:

Sort and organize emails
Send replies or drafts
Forward to team members
Extract data from emails
Search your inbox
Connect to other tools via webhooks

Ready to install this template?

Connect your Gmail, review a sample, then flip on autopilot.

Works with Gmail · 7-day free trial · No credit card