Skip to main content

Overview

The AI Personal Assistant is like having a human assistant manage your inbox, but at a fraction of the cost. It transforms how you handle email by saving you significant time each day - you can breeze through your inbox with pre-drafted responses ready to go, turning what used to take hours into minutes. At its core, it provides automatic organization by labeling and archiving emails based on your rules, keeping your inbox clean and organized. It also drafts replies to emails that need your attention. The AI learns your unique tone and writing style, so instead of starting from scratch with every email, you’ll find thoughtful responses that sound like you actually wrote them - maintaining your personal voice while saving you time. But the real power lies in its flexibility. Beyond these core features, you can create any custom rule to give your AI assistant a personalized role in managing your email. Want to automatically forward receipts to your accountant? Need to label all emails from team members or investors? Looking to set up complex workflows unique to your needs? The AI Personal Assistant adapts to whatever email management scenario you can imagine. We provide smart defaults to get you started immediately. Emails that need replies will automatically get draft responses, newsletters and marketing emails are properly categorized, and calendar-related emails are handled appropriately. These defaults work well for many users, but you’re free to customize everything to match your specific workflow.

Getting Started

To set up AI Personal Assistant for your email, click on the AI Personal Assistant tab in the left sidebar. Or visit this link.

Creating Rules

You can create rules in two ways:

Natural Language Instructions

  1. Type instructions in plain English in the text area
  2. Use the example instructions on the right for inspiration
  3. Combine multiple instructions for comprehensive email management
  4. Click Create Rules and the AI will convert your instructions into rules

Manual Rule Creation

For more precise control, create rules manually by clicking the Manually add rule button.

AI Chat Assistant

Need help with your rules? Use the AI chat assistant to:
  • Improve existing rules
  • Add new rules based on your needs
  • Get suggestions for better email management
AI Rules

Rules

On the Rules page, you can view and edit your rules. When you save your prompt the rules will be automatically created for you. But you can also decide to create rules manually. AI Rules

How Rules Work

Rules are broken into two parts:
  1. The condition to match against.
  2. The action to take when the AI finds a match.
If the condition is met, the AI will take the action (or suggest to take the action if you’ve disabled Automated mode). AI Rules

Conditions

There are two main types of conditions:
  • AI: Write an instruction for the AI to match against the email.
  • Static: Match against a static value: From, To, or Subject.
AI Conditions You can write an instruction for the AI to match against the email. For example: Apply this rule if this email is asking me to set up a call. When an email is received, the AI will use the prompt to determine if the email matches the condition. Static Conditions You can match against a static value: From, To, or Subject. For example: From: @email.com This will match against any email that has @email.com in the From field. The benefit of using static conditions is that they don’t require AI processing on every email, leading to greater efficiency and reliability.

Learned Patterns

Our AI automatically learns your behavior over time - no setup required! The system observes how you interact with emails and adapts accordingly. Viewing Learned Patterns
  • Click into any rule to see its learned patterns
  • Usually, you don’t need to modify these
  • Advanced users can manually adjust patterns if needed

Actions

Actions are what the AI does when a condition is met. You can add multiple actions to a single rule. Available actions:
  • Archive
  • Label
  • Reply
  • Forward
  • Send Email
  • Draft Email
  • Mark Spam
  • Call Webhook
  • Delayed Actions (archive or perform actions after a set time)
AI Generated Content You can include AI-generated content in your actions by writing custom prompts inside double curly braces: {{prompt}}. Example:
Hi {{name}},
{{write a response expressing interest in their proposal and ask about their timeline}}
Best regards
The AI will process each prompt in real-time based on the email context, replacing the content inside the curly braces with generated text. Everything outside the {{...}} placeholders will remain exactly as written.

Automated Mode

When a rule is set to Automated, the AI will automatically apply the rule to your emails without asking for confirmation. When Automated mode is disabled, the AI will not apply any actions, but the planned action will appear in the Planned tab where you can approve or reject the action.

Apply to Threads

When an email arrives, the AI looks at all your rules to decide which one fits best. The “Apply to Threads” setting determines which rules the AI can choose from. If this is disabled on a rule, that rule is only available for standalone emails - the first email in a new conversation. When someone replies (creating what’s called a thread or email conversation), rules with this disabled won’t even be considered as options. For example, say you have 8 rules total. If 5 of them have “Apply to Threads” disabled, then when a reply comes in, the AI only chooses from the 3 rules that have it enabled. But for a brand new email starting a conversation, the AI can pick from all 8 rules. This improves efficiency because certain types of emails, like newsletters or receipts, are typically standalone and not part of a thread. By automatically excluding these rules from threaded conversations, the AI has a more focused set of options to evaluate, leading to faster and more accurate rule matching.

Test Rules

You can test your rules by going to the Test tab. This will show you a list of emails. When you click Test, the AI will run the rule against the email and show you which rule it matched against (if any). You can also enter free-form text to test your rules. To test all rules quickly, click Test All. Test Rules

Fix Rules

If a rule isn’t behaving as expected (e.g., incorrectly marking emails as “to reply”):
  1. Go to the History tab
  2. Search for the problematic email
  3. Click Fix
  4. Explain why this email shouldn’t match the rule
  5. The AI will adjust the rule accordingly
Alternatively, use the AI chat assistant to describe the issue and get help fixing it.

Email Digest

The digest feature helps you stay on top of important emails by sending you summaries at your preferred frequency. You can configure any rule to contribute to your daily or weekly digest, which collects and summarizes those emails for you. This is especially powerful for newsletters. If you receive 20 newsletters throughout the day, you can have them all included in a single digest that summarizes everything you received. Instead of reading each newsletter individually, you get one comprehensive summary of all the important updates.

Delayed Actions

Delayed actions help you automatically clean up your inbox by archiving emails after a set period. This is perfect for low-priority emails that are only relevant for a short time - maybe a week or two - before they become noise in your inbox. For example, newsletters might be interesting for a week, but after that they’re just clutter. With delayed actions, you can have them automatically archive after 7 days. Your inbox stays clean without any manual effort, and those emails are still searchable if you need them later. Delayed actions aren’t limited to archiving. You can also use them for other automations like sending replies after a short delay - perhaps waiting 2 minutes before sending an automated response to make it feel more natural and less robotic.

Call Webhook Action

This is a developer feature for integrating with other services. If you’re not a developer, you can skip this section!
The Call Webhook action allows developers to integrate email processing with other services and applications. When triggered, we will send the email data to your specified webhook endpoint with the following configuration:
  • Method: POST
  • Content-Type: application/json
  • Headers: Includes X-Webhook-Secret if configured in settings
  • Body: JSON object containing the email data and rule that triggered the webhook
The webhook payload has the following structure:
{
  email: {
    threadId: string;      // The thread ID (Gmail or Outlook)
    messageId: string;     // The message ID (Gmail or Outlook)
    subject: string;       // Email subject
    from: string;         // Sender's email address
    cc?: string;          // CC recipients (if any)
    bcc?: string;         // BCC recipients (if any)
    headerMessageId: string; // Original message ID header
  },
  executedRule: {
    id: string;           // Execution ID
    ruleId: string;       // Rule that triggered this webhook
    reason: string;       // Why this rule was executed
    automated: boolean;    // Whether this was automated or manual
    createdAt: string;    // When the rule was executed
  }
}
You can set up a webhook secret in the settings page to secure your webhook endpoints. This secret will be included in the X-Webhook-Secret header of every webhook request.

Use your own API key

Inbox Zero covers AI costs for you, but if you wish, you can use your own API key. Go to the settings page to set it up. You can use the following LLM providers:
  • Anthropic
  • OpenAI
  • Google
  • Groq (Llama)
  • OpenRouter (access to any LLM of your choice)
  • Ollama (for self-hosted setups with 100% privacy)

Anthropic

To create an Anthropic API key, visit: https://console.anthropic.com/settings/keys

OpenAI

To create an OpenAI API key, visit: https://platform.openai.com/api-keys

Google

To create a Google API key, visit: https://aistudio.google.com/app/apikey

Groq

To create a Groq API key, visit: https://console.groq.com/keys

OpenRouter

OpenRouter gives you access to a wide variety of LLMs through a single API. Visit: https://openrouter.ai/settings/keys

Ollama (Self-Hosted)

For complete privacy, you can run a local Ollama model with your self-hosted setup. This ensures your email data never leaves your infrastructure.