bugfix: testing only --test_notify broke when email was enabled