autobuild: Add options to set mail host and send e-mail with logs