`handler_name is None` happens if email support is explicitly disabled in the config by setting the `Dagobahd:email` key to None. If this happens, this function should silently return None without printing anything.