A rough hack to make your fediverse account discoverable via your e-mail address. I made that in 2022, but switched it off again (it clashed with the ActivityPub plugin in WordPress). Since I got asked now how I did that, I put up this description.
On your e-mail domain name, make a folder well-known (here zylstra.org)
In that folder make a file with the name webfinger (no file extension).
In that file put a text like below.
<?php if ($_GET["resource"]) { $vraag = $_GET["resource"]; } if ($vraag=="acct:blog@zylstra.org") { ?> {"subject":"acct:ton@m.tzyl.eu","aliases":["https://m.tzyl.eu/@ton","https://m.tzyl.eu/users/ton"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://m.tzyl.eu/@ton"},{"rel":"self","type":"application/activity+json","href":"https://m.tzyl.eu/users/ton"},{"rel":"http://ostatus.org/schema/1.0/subscribe","template":"https://m.tzyl.eu/authorize_interaction?uri={uri}"}]} <?php } ?>
You see that the code ‘catches’ the request sent to it from some fediverse server, asking about the account name blog@zylstra.org. That is an email address and not a real account. However the script responds to that with some JSON that corresponds to my actual Mastodon account. That way your fediverse account can be discovered by search for an email address you have for someone.