pai
    Preparing search index...

    Function mailRead

    • One message as plain text, by uid. The body is cut at 20,000 characters so one message can't fill an agent's context.

      Parameters

      • env: Env
      • uid: number
      • opts: { folder?: string } = {}

      Returns Promise<MailMessage>

      CliError when the folder has no message with that uid.