Don't try to send mail in the profile environment
Fix generation of replies in profile_db_generator script