Updated parse_log_new with email module