Expose Masked Emails for e.g. Bitwarden

I really like the masked email feature. It would be nice if clients like bitwarden which have an interface for this feature already would be able to use stalwart’s masked mails.

So, there was something close here: GitHub - goingdark-social/staliaswarden · GitHub . However, I had to modify a few .js files to work with v0.16. I asked the maintainer to update their repo, but in the meantime, you can use these files until there is more “formal” support.

Use the yaml, updating the URL and file paths as needed. Copy the .js files accordingly. Setup Bitwarden to use the Addy-io as shown in the original repo.

For transparency, our dear friend Claude updated these .js files. The original alias.js file is not used and Stalwart does the full masked email creation.

2 Likes

Thanks for sharing this! The repo has been updated. v2.0.0 targets Stalwart v0.16+ directly using the JMAP x:MaskedEmail/set API, so no manual file patching needed anymore.

Docker image is on Package staliaswarden · GitHub . Happy to hear feedback if anything doesn’t work for your setup.

2 Likes