What Billcalm does with your mail, and what it never does
Billcalm runs on your Mac and has no servers and no account, so the only thing to trust is the app. Everything here comes from its code: what it asks your mail server for, where it keeps your passwords, what leaves your Mac and where it goes, and how it checks an update before installing it. You can check most of it yourself with a firewall and Keychain Access.
Written from the app's code on 17 October 2026 and checked against it again in a security review on 18 October 2026, before the first public build, and updated whenever the app changes. Questions or gaps: hello@billcalm.com.
In short
- Billcalm reads your mailbox over IMAP with an app password, read-only. It never sends, deletes, moves or flags mail, and over IMAP it downloads four header fields and the PDF attachments, never the text of an e-mail.
- Your app password and your AI key live in the macOS keychain, never in a file or in the app's database.
- Each bill goes to the one AI you chose, with the e-mail's subject, sender, date and attachment filename. With a local model it stays on your Mac.
- The only Billcalm address the app contacts is dl.billcalm.com, once per launch, to ask whether a newer version exists. The app sends no analytics and no crash reports.
- An update installs only after you click, and only if the download carries a valid signature from our key, which is built into the app.
What the app asks your mail server for
Billcalm connects to your provider's IMAP server on port 993 over TLS. It refuses any other port and has no unencrypted mode. It checks the server's certificate against the macOS trust store, and a certificate that is expired, untrusted or issued for another host ends the connection; there is no "continue anyway" button.
It signs in with LOGIN, or with AUTHENTICATE PLAIN when the server's greeting says LOGINDISABLED, using your address and the app password. After that it sends these commands and no others:
- CAPABILITY, to learn what the server supports. This is also how the app recognises Gmail.
- LIST, for the names of your folders, so you can choose which ones to scan.
- EXAMINE, which opens a folder read-only. The app never uses SELECT, the read-write variant.
- UID SEARCH, for messages newer than the last one it handled. The first run looks at the last 90 days; you can change that number, and on Gmail add a search of your own. On Gmail a second search finds messages with words such as "invoice" or "račun" and no attachment, so you can see bills that arrived as a link. Gmail matches those words anywhere in a message, and the app fetches only the headers of what it finds.
- UID FETCH of each message's number, arrival date, structure and four header fields (Subject, From, Date and Message-ID), plus Gmail's own message id on Gmail. The text of the message is never requested.
- UID FETCH of one attachment part at a time, only for parts the structure marks as PDF. Every fetch uses BODY.PEEK, so the server does not mark the message as read.
- LOGOUT at the end of each check. The next check opens a new connection.
What it never does on your mail server
- It never sends STORE, the command that changes flags, so nothing gets marked read, starred or deleted.
- APPEND, COPY, MOVE, EXPUNGE, CREATE, DELETE and RENAME are never sent either, so nothing is added, moved, removed or renamed.
- The app has no code for sending mail.
- Message bodies and attachments that are not PDFs stay on the server. A PDF larger than 25 MB is skipped.
- Outside Gmail it reads the Inbox plus the folders you tick, and folders your server marks as Sent, Drafts, Trash or Junk are not offered. On Gmail it reads All Mail, where Gmail keeps everything except Spam and Trash, so mail you sent with a PDF attached gets scanned too.
- To find the server for an address at your own domain, it asks the DNS servers in your Mac's network settings for the domain's SRV and MX records and uses no outside lookup service. These are ordinary DNS queries, so an encrypted-DNS profile on the Mac does not cover them. A domain whose mail goes to Google is treated as Google Workspace. For Gmail, iCloud and Fastmail it already knows the server. Addresses hosted by Microsoft (Outlook.com, Hotmail, Microsoft 365) are refused for now.

Settings → Mail, with demo data.
If your organisation blocks app passwords
When a Google Workspace administrator has turned app passwords off, the app can use a Google OAuth client that the administrator creates instead (Settings → Gmail with your own Google client). This path goes through Google's Gmail API over HTTPS with the read-only scope gmail.readonly, which Google enforces on its side. The app reads your address and Gmail's change counter from your profile, searches for messages with PDF attachments (and, as over IMAP, for invoice words with no attachment), fetches each of those messages and downloads the PDF parts. Google's API returns a message whole, text included; the app keeps the subject, sender, date and PDF parts and discards the rest. The refresh token and the client secret go into the keychain like the other secrets.
Where your passwords and keys live
Every secret the app holds sits in the macOS keychain, where Apple Mail and Safari keep theirs: the app password for your mail, your AI provider's API key, and with the Google alternative the OAuth refresh token and client secret. None of them is written to the app's database, a settings file or the log. While the app runs it holds them in memory, as any mail client has to. Keychain Access finds them if you search for billcalm; they belong to the service com.billcalm.app.
Removing the mailbox or an AI connection in Settings deletes its keychain item. The exception is a Google client secret you typed in yourself, which stays until you delete it in Keychain Access. Revoking the app password on your provider's site (for Gmail, at myaccount.google.com/apppasswords) locks the app out at once, whatever is still stored on the Mac.
The troubleshooting log never contains a password. At its most detailed level, the mail library logs every command, sign-in included. The app caps that library's logging below that level, and no setting can raise it.
What stays on your Mac
Everything the app knows lives in one folder, ~/Library/Application Support/com.billcalm.app. The database there, bills.sqlite, is plain SQLite. It holds the fields read from each bill (payee, amount, due date, IBAN, reference) with the model's raw reply; the subject, sender and date of each e-mail that had a PDF or looked like a bill without one; your mailbox address and server; the names and addresses of your AI connections; a record of every AI reading for the Analytics page (when, which file, which provider and model, how many tokens, and the cost when OpenRouter reports one), which stays after you delete a bill; and your folder choices and settings. Next to it, a pdfs folder keeps every downloaded PDF under its SHA-256 hash, and a logs folder keeps the technical log, one file per day, the last seven files. The log names PDF files, payees, amounts and IBANs as they are processed, never passwords.
The app does not encrypt the database or the PDFs. Your user account protects them like your other documents, and so does FileVault if it is on. The app syncs nothing in that folder anywhere, though your own backup, such as Time Machine, includes it like any other folder. A CSV export of your bills goes only where you save it.
Copy diagnostics in Settings puts a report on your clipboard for you to paste into an e-mail to us if you want help. It contains your settings (with the Google client ID, if you use one), mailbox address and server, folder list, the path of the data folder (which includes your Mac user name), the sync state, the names, addresses and models of your AI connections, some counts, and the end of the log with the file names, payees, amounts and IBANs it mentions. It contains no passwords or keys, and the app never sends the report itself.
To remove the app completely: turn off Start at login in Settings if you turned it on (it adds a file named after the app to ~/Library/LaunchAgents), quit the app, delete Billcalm from Applications, delete the folder above along with the app's window cache in ~/Library/WebKit and ~/Library/Caches, and delete the billcalm items in Keychain Access.

Settings → App shows the data folder and has Copy diagnostics and Check for updates. Demo data, in the browser preview of the app.
What goes to the AI you choose
Billcalm cannot read a bill by itself; one AI model does that, and you choose which. For every PDF you have not skipped, the app sends that provider the document, the e-mail's subject, sender, date and attachment filename, and our fixed instructions on what to extract, and nothing else from your mailbox or your Mac. The form depends on the model. Anthropic gets the PDF itself, cut to its first four pages when the app can cut it (a PDF it cannot cut goes whole); models that read images get pictures of the first three pages, rendered on your Mac; text-only models get the text of the first three pages, extracted on your Mac. If an answer cannot be read, the app sends the same document once more and asks for a corrected answer. A request that fails on the network or because the provider is busy is retried up to four times, and a PDF that still fails is tried again on later checks.
A few smaller requests go to the same provider. When a new bill could belong to more than one of your recurring payees, the app sends a one-line summary of the bill (payee, sender, IBAN, customer reference, amount, description) and the name, IBAN, sender domains and customer reference of each candidate, and asks which one fits. Test connection sends a fixed sentence asking for the word OK and treats any answer as success. Try a bill during setup sends a sample bill that ships with the app, never one of yours. With OpenRouter on Let Billcalm decide, the app also downloads OpenRouter's public list of models, without your key and at most once an hour, to see whether your model reads images.
Your API key goes only to that provider's own address, in the request header, read from the keychain each time. The app follows no redirects, so the key cannot be passed on to another server. It sends a key over plain http only to a server on your own Mac, and when you change a connection's address it asks for the key again. With OpenRouter you can sign in through your browser instead of pasting a key. The app opens openrouter.ai with a one-time code challenge, waits on a random port on 127.0.0.1 for the browser to come back, exchanges the code for a key, asks OpenRouter once whether the key is on the free tier, and stores the key in the keychain.
With a local model (Ollama or LM Studio) the same request goes to localhost, so your bills never leave your Mac; the app also asks the local server which models it has. Billcalm does not download models itself. When you ask for one, it tells Ollama to pull it, and Ollama fetches it from Ollama's servers. Under "Own server or proxy? Set it up by hand" (and later under Edit → Technical) you can enter the base URL of any OpenAI-compatible or Anthropic-style server. The bill and your key then go to that address (the key only over https, or to a server on your Mac), and you are the one vouching for it.
What a cloud provider does with what it receives is up to that provider's terms, and each provider's panel in the app says where your bills go before you connect it. We never see your bills.

Choosing the AI in Settings, here a model on your own Mac. For OpenRouter the same Privacy line reads: Bills go to OpenRouter and the model's maker, under their terms. Demo data.
Every host the app contacts
The app connects to the hosts in this table and nowhere else. It sends no analytics, crash reports or usage statistics, and its window loads no fonts, scripts or images from the internet. A content security policy in the app enforces that last point. An outbound firewall such as Little Snitch or LuLu shows the same list, and so does lsof while the app runs.
| Where | When | What |
|---|---|---|
| Your mail server: imap.gmail.com, imap.mail.me.com, imap.fastmail.com, or your domain's IMAP server, port 993 | Every check (every 5 minutes by default) and when you connect | Your address and app password at sign-in, the commands above, and the PDFs coming back |
| The DNS servers in your Mac's network settings | When you type an address at your own domain and when you connect it, and before every check | SRV and MX lookups for your domain, and before every check a lookup of the mail server's address |
| The AI provider you picked: openrouter.ai, generativelanguage.googleapis.com, api.openai.com or api.anthropic.com, or the base URL of a custom server you entered | Each time a bill is read, on payee matching, on Test connection and on Try a bill | The bill as described above, and your API key in the request header |
| localhost:11434 (Ollama) or localhost:1234 (LM Studio) | The same, with a local model, plus a look at which models are installed | The same request, which stays on your Mac |
| openrouter.ai, and a random port on 127.0.0.1 | Only when you connect OpenRouter through the browser | The browser sign-in, the code-for-key exchange, and one request to check the key |
| openrouter.ai | With OpenRouter on Let Billcalm decide, at most once an hour | A request for OpenRouter's public list of models, without your key |
| accounts.google.com, oauth2.googleapis.com, gmail.googleapis.com | Only with the Google OAuth alternative | Google's sign-in, token refresh, and the Gmail API calls above |
| dl.billcalm.com | Once per launch, and when you click Check for updates or Install and restart | A request for latest.json, and the update archive when you install. It carries no account and no identifier beyond the updater's version string, though like any download it shows the server your IP address. Hosted on Cloudflare R2 in the EU. Today this is the only Billcalm address the app contacts. |
| Your web browser | When you click a link in the app | Your mail provider's settings pages (Google, Apple, Fastmail), your AI provider's pages (OpenRouter, Google AI Studio, OpenAI, Anthropic, Ollama, LM Studio), Open in Gmail, and a link your mail server puts in a sign-in error. These open in your browser, outside the app. |
How updates are checked and verified
Once per launch the app downloads latest.json from dl.billcalm.com. The file holds a version number, a date, release notes, a download link and a signature. If the version is newer than the one running, you get a notice, and nothing is downloaded or installed until you click Install and restart. The app then reads the file once more and downloads the archive. Settings → App has the same check as a button.
We sign each update archive with a minisign key that only we hold. The matching public key is built into the app, and the updater refuses an archive whose signature does not verify, and any version that is not newer than the running one. The address of latest.json is fixed in the app and uses HTTPS; the archive's address comes from that file, and the signature check applies wherever the archive comes from. Someone who took over dl.billcalm.com could delay your updates but could not install anything on your Mac.
Every build you can download is also signed with an Apple Developer ID and notarized by Apple, so macOS checks it the way it checks any other downloaded app.
Buying and the licence (planned)
The licence is not built yet. This is the plan, and the section changes when the licence ships. Billcalm will be a one-time purchase, with the price announced at launch. Payment will go through Creem, a merchant of record, so we never see your card. Creem will e-mail you a licence key and keep the purchase record: your e-mail address, the key, and how many Macs have activated it.
Activation will add the second and last Billcalm address the app contacts: a small service of ours that passes your key to Creem once and returns a licence signed with our key. The app checks that licence offline and keeps it in the keychain, and after that it does not phone home. Moving the licence to another Mac goes through the same service. The 14-day trial before purchase needs no account, and its start date is kept in the keychain.
What the app can do on your Mac
The direct-download build is not sandboxed; the Mac App Store version, planned for later, will be. It runs under Apple's hardened runtime with one exception, which lets it load pdfium, the bundled PDF library. pdfium carries the same Developer ID signature as the app. Besides asking macOS for permission to show notifications, the app can sit in the menu bar, copy text to your clipboard (Copy diagnostics, and the payment details on a bill), open links and PDFs in their own apps and open the data folder in the Finder, all through macOS's open command. It also runs sysctl, another macOS tool, to read how much memory the Mac has before it suggests a local model. Installing an update replaces the app with standard file commands, and macOS asks for an administrator password if your Applications folder needs one. Start at login stays off until you turn it on, and then the app starts hidden in the menu bar.
Who makes it
Billcalm is made by Trupac Solutions, a sole proprietorship in Duga Resa, Croatia, run by Antonio Trupac alone; the business details are in the footer. Apple enrols sole proprietors as individuals, so the signature macOS shows when you open the app reads Antonio Trupac, while the website and your invoice say Trupac Solutions.
The code is not published, so this page, an outbound firewall and Keychain Access are how you can check the app. If you find a difference between this page and what the app does, write to hello@billcalm.com, and we will fix whichever of the two is wrong.
Check it yourself
Each of these takes a few minutes:
- Install an outbound firewall such as Little Snitch or LuLu, use Billcalm for a day, and compare the hosts it asks for with the table above.
- Open Keychain Access and search for billcalm. The items you find are every secret the app keeps.
- Open ~/Library/Application Support/com.billcalm.app in the Finder. The database, the PDFs and the log are there as plain files.
- Look at your mail provider's security page (for Gmail, myaccount.google.com → Security). Billcalm appears as IMAP sign-ins from your Mac.