Allow logging email subject and email body when setting email pretending mode to true

In development environment, when the email pretending mode is set to true, the current version only log the email receivers. In some cases, developer cannot view the content of emails that they send.