Don't send mail in profile env
Fix profile_db_generator creation of topics