Replaced the tuple returned by process_mail() by a dictionary.