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

    Function messagesExportCsv

    • Returns {
          config: {
              description: "Export Gmail messages to CSV with streaming pagination. Returns file URI. Use query-syntax prompt for query reference.";
              inputSchema: ZodObject<
                  {
                      contentType: ZodDefault<ZodOptional<ZodEnum<{}>>>;
                      excludeThreadHistory: ZodDefault<ZodOptional<ZodBoolean>>;
                      filename: ZodDefault<ZodString>;
                      maxItems: ZodDefault<ZodNumber>;
                      query: ZodOptional<
                          ZodType<
                              schemas.GmailQuery,
                              unknown,
                              $ZodTypeInternals<schemas.GmailQuery, unknown>,
                          >,
                      >;
                  },
                  $strip,
              >;
              outputSchema: ZodObject<
                  {
                      result: ZodDiscriminatedUnion<
                          [
                              ZodObject<
                                  {
                                      filename: ZodString;
                                      rowCount: ZodNumber;
                                      truncated: ZodBoolean;
                                      type: ZodLiteral<"success">;
                                      uri: ZodString;
                                  },
                                  $strip,
                              >,
                              ZodObject<{}, $strip>,
                          ],
                          "type",
                      >;
                  },
                  $strip,
              >;
          };
          handler: (
              __namedParameters: {
                  contentType: "text" | "html";
                  excludeThreadHistory: boolean;
                  filename: string;
                  maxItems: number;
                  query?: schemas.GmailQuery;
              },
              extra: EnrichedExtra & StorageExtra,
          ) => Promise<
              {
                  content: { text: string; type: "text" }[];
                  structuredContent: {
                      result: {
                          filename: string;
                          rowCount: number;
                          truncated: boolean;
                          type: "success";
                          uri: string;
                      };
                  };
              },
          >;
          name: string;
      }

      • config: {
            description: "Export Gmail messages to CSV with streaming pagination. Returns file URI. Use query-syntax prompt for query reference.";
            inputSchema: ZodObject<
                {
                    contentType: ZodDefault<ZodOptional<ZodEnum<{}>>>;
                    excludeThreadHistory: ZodDefault<ZodOptional<ZodBoolean>>;
                    filename: ZodDefault<ZodString>;
                    maxItems: ZodDefault<ZodNumber>;
                    query: ZodOptional<
                        ZodType<
                            schemas.GmailQuery,
                            unknown,
                            $ZodTypeInternals<schemas.GmailQuery, unknown>,
                        >,
                    >;
                },
                $strip,
            >;
            outputSchema: ZodObject<
                {
                    result: ZodDiscriminatedUnion<
                        [
                            ZodObject<
                                {
                                    filename: ZodString;
                                    rowCount: ZodNumber;
                                    truncated: ZodBoolean;
                                    type: ZodLiteral<"success">;
                                    uri: ZodString;
                                },
                                $strip,
                            >,
                            ZodObject<{}, $strip>,
                        ],
                        "type",
                    >;
                },
                $strip,
            >;
        }
      • handler: (
            __namedParameters: {
                contentType: "text" | "html";
                excludeThreadHistory: boolean;
                filename: string;
                maxItems: number;
                query?: schemas.GmailQuery;
            },
            extra: EnrichedExtra & StorageExtra,
        ) => Promise<
            {
                content: { text: string; type: "text" }[];
                structuredContent: {
                    result: {
                        filename: string;
                        rowCount: number;
                        truncated: boolean;
                        type: "success";
                        uri: string;
                    };
                };
            },
        >
      • name: string