Only logging after the sending job is done.
requirements.txt
Unify send notification function.