Trouble with publishing the email