@mcp-z/mcp-gmail
    Preparing search index...

    Function messageSend

    • Returns {
          config: {
              description: "Send an email message through Gmail";
              inputSchema: ZodObject<
                  {
                      bcc: ZodString
                      | ZodOptional<ZodString>;
                      body: ZodString;
                      cc: ZodString | ZodOptional<ZodString>;
                      contentType: ZodDefault<ZodOptional<ZodEnum<{}>>>;
                      subject: ZodDefault<ZodString>;
                      to: ZodString | ZodOptional<ZodString>;
                  },
                  $strip,
              >;
              outputSchema: ZodObject<
                  {
                      result: ZodDiscriminatedUnion<
                          [
                              ZodObject<
                                  { item: ZodObject<{}, $strip>; type: ZodLiteral<"success"> },
                                  $strip,
                              >,
                              ZodObject<{}, $strip>,
                          ],
                          "type",
                      >;
                  },
                  $strip,
              >;
          };
          handler: (
              params: {
                  bcc: string;
                  body: string;
                  cc: string;
                  contentType: "text" | "html";
                  subject: string;
                  to: string;
              },
              extra: EnrichedExtra,
          ) => Promise<
              {
                  content: { text: string; type: "text" }[];
                  structuredContent: { result: { item: {}; type: "success" } };
              },
          >;
          name: string;
      }