langchain.tools.gmail.send_message.SendMessageSchema¶
- class langchain.tools.gmail.send_message.SendMessageSchema(*, message: str, to: Union[str, List[str]], subject: str, cc: Optional[Union[str, List[str]]] = None, bcc: Optional[Union[str, List[str]]] = None)[source]¶
Bases:
BaseModelInput for SendMessageTool.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param bcc: Optional[Union[str, List[str]]] = None¶
The list of BCC recipients.
- param cc: Optional[Union[str, List[str]]] = None¶
The list of CC recipients.
- param message: str [Required]¶
The message to send.
- param subject: str [Required]¶
The subject of the message.
- param to: Union[str, List[str]] [Required]¶
The list of recipients.