Closes #410 "Send a Message" screen shows errors when trying to save drafts, with default backend
Added the lib statements we use for the mail.cgi script and the plugins/extensions