Skip to content

An AI agent for your inbox, files and notes. It asks before it sends.

Mantra connects to your mail, a project folder and your Obsidian vault. It runs on local Ollama models or on Gemini, OpenAI and Claude. It reads what you point it at and drafts what you ask for. Nothing is emailed until someone approves it.

Works with

  • Ollama, local or cloud
  • Google Gemini
  • OpenAI
  • Claude via Aegis
  • Gmail
  • Hostinger Mail
  • Obsidian
  • Discord

Reading happens straight away. Sending waits for a person.

The agent can search and read mail on its own. When it wants to send something, it drafts the email and stops. The draft appears in the conversation with Approve and Reject buttons, and nothing leaves your mailbox until someone clicks Approve.

You

Find Priya’s email about the venue and tell her Thursday works for us.

  • search_emails
  • read_email
  • propose_email

Mantra

Priya asked on Monday whether Thursday or Friday suits for the venue walkthrough. I’ve drafted a reply confirming Thursday. It’s waiting for your approval below.

Email awaiting your approval, not sent

To
priya@example.com
Subject
Re: Venue walkthrough
Hi Priya,

Thursday works for us. Could you send over the time you have in mind?

Thanks
An example conversation, laid out the way it appears in the app.

How it works

Setup happens in Settings, with three areas: providers, agents and integrations.

  1. Connect a model

    Add an Ollama endpoint, or paste a Gemini, OpenAI or Aegis key. Test lists the models it can reach without saving anything. Saved keys are encrypted with AES-256-GCM and are never shown again.

  2. Choose a model for each agent

    Pick the provider and model each agent runs on, from the models your connected providers offer. A change applies from the next message.

  3. Connect your sources

    Gmail or Hostinger mailboxes, a folder on the server or on your own computer through the desktop app, an Obsidian vault, web search and image generation.

  4. Ask

    The agent decides which tools it needs and shows each tool call in the conversation, so you can see what it read before it answers.

What the agent can reach

Each connection is a set of tools. Here is what each one can do, where it stops, and the permission it needs.

  • Email

    Gmail, or one or more Hostinger mailboxes

    What it can do
    List, search and read messages. Draft replies and new emails.
    Where it stops
    Sends only after someone approves the draft. Each approval runs once.
    Permission
    email:reademail:send
  • Project folder

    On the server, or on your computer through the desktop app

    What it can do
    List, read and search files. Semantic search across the folder with Ollama embeddings.
    Where it stops
    Read-only. It cannot change or delete files.
    Permission
    workspace:read
  • Obsidian vault

    One vault per workspace

    What it can do
    List, search and read notes. Write new notes.
    Where it stops
    Writing needs its own permission, separate from reading.
    Permission
    knowledge:readknowledge:write
  • Web search

    DuckDuckGo

    What it can do
    Search the web and use the results in an answer.
    Where it stops
    Search results only. It does not browse or fill in forms.
    Permission
    web:search
  • Image generation

    Through Ollama, OpenAI or Gemini

    What it can do
    Generate images from a prompt inside the chat.
    Where it stops
    Uses the image models your workspace has enabled.
    Permission
    image:generate

Work that runs on a schedule

Two jobs can run on a schedule once you switch them on. Both post their drafts to a Discord channel, and both wait for a person to approve before anything is sent.

Inbox triage

every minute

A small classifier model reads new mail and picks out genuine sales enquiries. Newsletters, receipts, support requests and cold pitches are ignored. A writing model drafts a reply to each enquiry and posts it to Discord. The reply goes out when someone approves it there.

Needs: A connected Gmail or Hostinger mailbox and a linked Discord channel.

Outreach campaigns

replies checked every 5 minutes
  1. Upload your lead list as a CSV in Discord.
  2. Anyone you have contacted before is skipped.
  3. Mantra reads each company’s website and drafts an email from your brief.
  4. You approve the drafts in Discord.
  5. Emails go out inside your send window, spaced out across your mailboxes.
  6. Replies are sorted into real answers, auto-replies, bounces and unsubscribes. Referrals to a colleague are picked up, and responses are drafted for approval. A campaign that starts bouncing is paused.

Needs: Hostinger mailboxes and a Discord channel for uploads and approvals.

Who can do what

Two roles
Admins can use every tool. Employees get read-only tools by default: files, mail, web search and notes.
Permissions per tool
An agent can only use a tool that is assigned to it and allowed for your role. Sending email and writing notes are separate permissions from reading.
Approval before sending
Outbound email always becomes an approval. If the same request is retried, it still sends at most once.
Separate workspaces
Each workspace’s conversations, keys and connections are stored and queried separately.
Tool output is treated as untrusted
Emails, files and web results are capped in size before the model sees them. An oversized result is cut to its beginning and end, with a fingerprint, rather than rewritten by another model.
Long conversations stay on track
When older messages no longer fit, they are summarised into a fixed outline: the goal, confirmed facts, decisions, open items, finished actions and safety rules. Older turns that matter to the current question can be brought back.

Desktop app

Open Mantra from anywhere with a keyboard shortcut. You sign in through your browser, and the app gets its own device session, which you can revoke at any time. While it is connected, the agent reads files on your computer instead of the server.

Keyboard shortcut: CtrlShiftA

Start with one mailbox and one folder.