Go to Settings -> Filters and Blocked Addresses -> Create a new filter. In the Has the words field, add deliveredto:joe@foo.com and choose what you want to do with such filtered emails. This solution worked for my setup.
This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting. - GitHub - colemickens/nixos-flake-example: This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting.