changes to email-io