code: def _set_attachments(self, value):
          '''
          A special set function to ensure
          we're setting with a list
          '''
          if value is None:
              setattr(self, '_PMMail__attachments', [])
          elif isinstance(value, list):
              setattr(self, '_PMMail__attachments', value)
          else:
              raise TypeError('Attachments must be a list'f _set_attachments(self, value):
          '''
          A special set function to ensure
          we're setting with a list
          '''
          if value is None:
              setattr(self, '_PMMail__attachments', [])
          elif isinstance(value, list):
              setattr(self, '_PMMail__attachments', value)
          else:
              raise TypeError('Attachments must be a list')
docs: A special set function to ensure
          we're setting with a list