
True P2P Email on top of Yggdrasil Network for Android
A mail server that runs on your phone and delivers straight to other phones
over the Yggdrasil mesh. No provider in between.
Android 6.0 or newer

Tyr embeds yggmail-ng and runs it as a
foreground service. Your address is your public key, <64 hex>@yggmail, so nobody can
register it before you or impersonate it. Mail travels node to node across Yggdrasil,
which encrypts it in transit, with no MX records, port forwarding or relay to trust.
On the phone it looks like an ordinary mail account on 127.0.0.1, so DeltaChat,
ArcaneChat, K-9 Mail, FairEmail or Thunderbird can use it as-is. Tyr also has a small
chat of its own for text and photos.
mailto: or linkGet it from IzzyOnDroid or
download an APK from Releases. Releases
come per ABI (arm64-v8a fits almost every current phone) and as a larger universal build.
Release APKs are signed with this certificate:
Package com.jbselfcompany.tyr
SHA-256 5B:AE:87:76:77:27:DE:3D:39:60:01:25:F6:26:3E:51:5A:69:87:F1:FA:A9:72:52:75:98:A9:B1:FD:A4:F6:9E
Check a download with apksigner verify --print-certs Tyr-*.apk.
For any other mail client, add an account by hand:
| Field | Value |
|---|---|
| Address | your <64 hex>@yggmail from the home screen |
| Password | the one you set in Tyr |
| IMAP | 127.0.0.1, port 1143, no TLS |
| SMTP | 127.0.0.1, port 1025, no TLS |
[!IMPORTANT] Mail only moves while Tyr is running. Keep Start on Boot on and allow the app to ignore battery optimization when asked.
DeltaChat · K-9 · Tyr chat
│ SMTP :1025 / IMAP :1143, loopback only
▼
Tyr ─ yggmail-ng (Rust, via UniFFI) ──▶ Yggdrasil mesh ──▶ recipient's Tyr
The server is written in Rust and shipped as libyggmail_mobile.so. Tyr starts it,
keeps it alive, watches the peer link and swaps to the backup peer after two minutes
of downtime.
Some things to know before relying on it:
<64 hex>@yggmail addresses only reach other Yggmail nodes, not regular email.127.0.0.1 and need
the password, but any app on the device can try to connect.git clone https://github.com/JB-SelfCompany/Tyr.git
cd Tyr
./gradlew assembleDebug # app/build/outputs/apk/debug/
./gradlew testDebugUnitTest # unit tests (JUnit + Robolectric)
Set the SDK path in local.properties (sdk.dir=...) or ANDROID_HOME. A release
build without keystore.properties comes out unsigned, which is what F-Droid style
reproducible builds expect.
The native library is prebuilt in app/src/main/jniLibs/<abi>/, with its UniFFI bindings
in app/src/main/java/uniffi/. native-sources.txt records the exact yggmail-ng commit and
toolchain. Rebuilding it needs Rust with the aarch64, armv7, x86_64 and i686
Android targets, cargo-ndk and the NDK;
the steps are in the yggmail-ng README.
yggmail-ng, the server inside Tyr · Yggdrasil · DeltaChat · ArcaneChat · Mimir, a P2P messenger on Yggdrasil
GPLv3, see LICENSE. The bundled yggmail-ng library is MPL-2.0.

Automated mobile application security testing framework for Android, iOS, and Windows. Performs static and dynamic analysis, malware detection, and API security testing with CI/CD integration.

Command-line and GUI tool for decompiling Android Dex and APK files into readable Java source code, with resource decoding, deobfuscation, and Smali debugging capabilities.

A tool for reverse engineering Android apk files