Fix for exception thrown if send_email called w/o email param

If the script is run from the command line not using the database, send_email will throw an exception because the dlog call uses "email" instead of config['EMAIL_TO'].  This patch just makes it the dlog use config['EMAIL_TO'] instead.