code: def send(
          self,
          to=None,
          subject=None,
          contents=None,
          attachments=None,
          cc=None,
          bcc=None,
          preview_only=False,
          headers=None,
          newline_to_break=True,
      ):
          
          self.login()
          recipients, msg_string = self.prepare_send(
              to, subject, contents, attachments, cc, bcc, headers, newline_to_break
          )
          if preview_only:
              return (recipients, msg_string)
          return self._attempt_send(recipients, msg_string)
docs: Use this to send an email with gmail