Fix issue when Mail could not be parsed by mail-gem (e.g. invalid date in header)