MailMate includes a shell command named emate
which is located inside the MailMate application bundle. It can be used to create and, optionally, send emails directly from the command line.
It is recommended to make a symbolic link to emate
and never make a copy. This ensures that new versions of MailMate automatically updates the emate
command as well. Make sure ~/bin/
exists and paste the following in the Terminal:
ln -s /Applications/MailMate.app/Contents/Resources/emate ~/bin/emate