Export the mailsender as a global API