mailabbrev is Emacs’s “abbrev-expansion of mail aliases”, and
it is part of Emacs. To use it, you will need to set up a database file
It will be autoloaded on demand.
You can also enable multi-server queries as described in see Multi-server Queries.