You need to add one more thing so that mu4e
is loaded. There are two different ways to do this.
First, you could add (require 'mu4e)
after you've added the path to your load-path
. This will immediately load mu4e
.
Alternatively, you could add the following:
(autoload 'mu4e "mu4e" "Launch mu4e and show the main window" t)
This will tell Emacs to load it lazily (i.e. not until you actually use it). Autoloading is documented here. (This is essentially done for you for packages installed via package.el
- it's the same mechanism, you just don't need to specify it yourself).
The benefit of autoloads is that Emacs's initial startup is faster, since rather than loading every package right away it waits until you use them.