muttlearn is an alternative to manually maintaining profiles in mutt. It scans your mailboxes, learns how you want to write mails (e.g. with which from address, what signature, what greeting, etc.) and outputs send-hooks per recipient or group of recipients.
For more information, visit the homepage: https://molb.org/~weisslj/muttlearn/
If you want to contribute, visit the github page: https://github.com/weisslj/muttlearn