Fixes bug in pull email message