SendMessageSchema#

class langchain_community.tools.gmail.send_message.SendMessageSchema[source]#

Bases: BaseModel

Input 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: List[str] | str | None = None#

The list of BCC recipients.

param cc: List[str] | str | None = 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: str | List[str] [Required]#

The list of recipients.