Got emails to work, not sure how correct yet though.