added email mock functionality (no attachments)