Rename SEND_ERROR_EMAILS to SEND_ERROR_MAIL
Switch to using QueueHandler/QueueListener for multiprocessing-safe logging in heartbeat process in gridmap.runner.