use erb for mails
add defaults for some ENV vars