Finally got emailing to work.