I've been using notmuch, via smtpmail.el and getmail to manage my emails on Emacs, and it all works, although I'm annoyed at how I need to change the name beside my <email@address> (defined by user-mail-address) on the From: header.
I've changed user-full-name in my settings.el, following the examples here:
https://www.emacswiki.org/emacs/SendingMail
https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Outgoing-mail.html
But whenever I go write a new messsage or reply to one, From: still shows my debian username.
user-mail-address? – NickD Jul 31 '20 at 14:40settings.el, i've edited my question to reflect that. But what I'm looking for is how to change the name beside that on theFrom:mail heading. – theblacksquid Jul 31 '20 at 15:57user-full-namejust before you try to compose the mail:C-h v user-full-name RET. If that is not correct, restart emacs and check again. If it is correct, I would instrument the functionmessage-make-fromwith edebug and try to compose an email. When you hit the breakpoint, check a backtrace withdand see who called what and how: in particular, ifmessage-make-fromis called without an argument, it should useuser-full-name; if it is called with an argument, check the callers. – NickD Jul 31 '20 at 17:15(message-make-from)withC-x C-eafter the closing paren. It should return the "right" thing: assuminguser-full-nameis "John Smith" anduser-email-addressis "jsmith@jsmith.net", it should returnJohn Smith <jsmith@jsmith.net>. OTOH, if you callmessage-make-fromwith an argument like this:(message-make-from "foo")it is going to returnfoo <jsmith@jsmith.net>. – NickD Jul 31 '20 at 20:45