mail_emitter.py updated