Add the handler to send generic emails. Control the backoff of mail tasks.