Writing current job state to notify.py
Making email message plaintext