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][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param bcc: str | List[str] | None = None#

The list of BCC recipients.

param cc: str | List[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.