brush up compatibility with emacs and postach.io