Fix Enum.reduce usage; Rename Mail record to MailObject