Docs & help
Short answers, one topic per card. The same help lives inside the app (Help tab) โ this copy is here so you can read it before installing.
๐ First-time setup โ four steps
- Install โ download, unzip anywhere, double-click
MaiElf.exe.
Windows may show a SmartScreen warning the first time โ it doesn't know small apps. Click More info โ Run anyway. - Add accounts โ Accounts tab. Provider โ email + password โ Test & add. Lots of accounts? Import from CSV.
- Pick your AI โ Settings. Default is Ollama (free, local, private) or paste an OpenAI / Claude / Gemini key. ๐งช Test AI confirms.
- Connect Telegram + automate โ free bot from @BotFather, then Install schedule: polls every 15 minutes, digests morning and evening.
๐ฎ Adding accounts โ by provider
Needs an app password, not your normal one.
Turn on 2-Step Verification, then go to
myaccount.google.com/apppasswords.Also an app password: Yahoo account security โ Generate app password.
Pick the Microsoft provider. Invent a NEW password just for MAIElf (not your Microsoft one). Click Set up Microsoft sign-in, finish in the browser tab that opens, then Test & add.
To also SEND from this account, redo the sign-in once โ sending needs one extra permission.
Your normal mailbox password works.
Choose Custom and enter the server address from your provider's help page.
๐ค Choosing your AI
Ollama (default) โ free, runs on your PC, mail never leaves it.
Install from ollama.com/download, then run:
ollama pull qwen2.5:7b-instruct
Cloud โ OpenAI, Claude, Gemini, Grok, DeepSeek, Groq, OpenRouter.
The hint under the dropdown says exactly where to create each key.
๐ฒ Telegram โ alerts and the two-way assistant
Alerts ping instantly for client leads, money, security codes, VIP senders. Digests arrive morning and evening.
The assistant answers back โ text your bot:
- /urgent โ anything urgent in the last 24h
- /report โ mini digest of what you missed
- /waiting โ who hasn't replied to your mail
- /search stripe invoices
- summarize the last 5 emails from John about the hike, action list
- book a meeting Tuesday at 8 with John and Mike โ tap-to-add calendar file
- email dana about moving the call to Friday โ sends only after you confirm
๐ฏ Acting by number from your phone
Whenever the bot shows a numbered list (the digest, /urgent, /report, /search), text back the number + what to do. Say item 2 is Dana's email:
done 2 โ mark it handled; gone from the queue.snooze 2 3d โ hide it for 3 days, then it returns.
(snooze 2 = 1 day, 0.5 = half a day)mute 2 โ that sender never alerts again.
For noisy robots, not people.reply 2: sounds good, Friday works โ becomes a real
email reply. The bot shows exactly what will send and sends
only after you answer yes.Numbers stay valid until the bot shows a new list, which renumbers.
๐งน Taming newsletters โ the ladder
- Keep โ it's fine, leave it.
- Sweep โ hide the pile in an
MAIElf-sweptfolder. Nothing deleted. New mail still arrives until you unsubscribe. - Unsubscribe โ stop future mail (โก 1-click is silent).
- ๐ Delete โ move everything from that sender to the account's own Trash. Off by default; recoverable from Trash until your provider empties it.
Handled senders fold into a collapsed โ section so the working list stays short.
๐ Troubleshooting
| Symptom | Fix |
|---|---|
| Windows warns on install | SmartScreen doesn't know small apps โ More info โ Run anyway |
| Something looks stale | Double-click MaiElf.bat โ restarts everything fresh |
| A job seems stuck | Settings โบ Automation shows a live log of what's happening |
| No Telegram alerts | Settings โบ Telegram โบ Send test message; token and chat must both be green |
| AI errors | Settings โบ ๐งช Test AI. Ollama: is the Ollama app running? Cloud: re-check the key |
| Account dot is red | Password expired or token revoked โ Accounts โบ Test shows the exact error |
| Gmail login fails | You need an app password (see Adding accounts above), not your normal one |
| Mail piling up unclassified | The AI engine is down โ you also get one Telegram warning about it |
Still stuck? hello@maielf.com
๐ Privacy & security
- Passwords, tokens, and keys are encrypted with Windows DPAPI โ tied to your Windows login. A stolen disk yields ciphertext.
- Stored email bodies are encrypted in the local database too.
- With Ollama, mail content never leaves your machine โ except the alert/digest text sent to your own Telegram bot.
- With a cloud AI, message text goes to that provider for analysis.
- The dashboard listens only on your computer (127.0.0.1).
- Nothing is moved, deleted, or sent unless you click the button for it.