@karmaniverous/jeeves-scripts-core
    Preparing search index...

    Function getCalendarAccounts

    • Accounts that have calendar config.

      Parameters

      Returns {
          calendar?: { tokenFile: string } | { serviceAccount: "auto" };
          email: string;
          emailPolling: boolean;
          folders?: string[];
          imap?: {
              host: string;
              password: { secretRef: string };
              port: number;
              tls: boolean;
              user: string;
          };
          reportOnly?: boolean;
          type: "gmail"
          | "imap";
      }[]

      • Optionalcalendar?: { tokenFile: string } | { serviceAccount: "auto" }

        Calendar access; absent means no calendar polling.

      • email: string

        Account email address.

      • emailPolling: boolean

        Poll this account's mail.

      • Optionalfolders?: string[]

        IMAP folders to poll.

      • Optionalimap?: {
            host: string;
            password: { secretRef: string };
            port: number;
            tls: boolean;
            user: string;
        }

        IMAP connection; required when type is imap.

        • host: string

          IMAP server host.

        • password: { secretRef: string }

          Password, by secret reference only.

          • secretRef: string

            Name of the file in the IMAP secrets directory holding the password.

        • port: number

          IMAP server port.

        • tls: boolean

          Connect over TLS.

        • user: string

          Login user.

      • OptionalreportOnly?: boolean

        Ingest this account but never write back to its mailbox (no label or archive). Opt-in only: emailConfig.reportOnly applies to every account regardless (see reportOnlyFor).

      • type: "gmail" | "imap"

        Access method.