code: def hash_addresses(address_field)
        return nil unless address_field
  
        address_field.formatted.map do |address|
          address_obj = Mail::Address.new(address)
          {
            email: address_obj.address,
            name: address_obj.display_name,
            type: address_field.name.downcase
          }
        end
      end
docs: rubocop:enable Metrics/AbcSize
   Returns a Mandrill API compatible email address hash