Skip to documentation
GMail integration

Count Inbox Backlog

Perform Count Inbox Backlog through GMail.

View as Markdown
gmail_count_inbox_backlog
write

Inputs

  • without_labels
    text
    Without Labels

    Optional text value.

  • count_only_untagged
    boolean
    Count Only Untagged

    Optional true-or-false value.

    Default: false

  • since
    text
    Since

    Optional text value.

  • since_days
    number
    Since Days

    Optional numeric value.

  • threshold
    number
    Threshold

    Optional numeric value.

    Default: 50

  • to_emails
    text
    To Emails

    Optional text value.

  • cc_emails
    text
    Cc Emails

    Optional text value.

  • subject
    text
    Subject

    Optional text value.

    Default: "Inbox backlog: {count} waiting — {report_day}"

  • timezone
    text
    Timezone

    Optional text value.

    Default: "America/New_York"

  • dry_run
    boolean
    Dry Run

    Optional true-or-false value.

    Default: false

Outputs

  • successSuccess
  • fresh_countFresh Count
  • eligible_countEligible Count
  • handled_countHandled Count
  • total_countTotal Count
  • compared_countCompared Count
  • thresholdThreshold
  • count_cappedCount Capped
  • alert_sentAlert Sent
  • skip_reasonSkip Reason
  • oldest_waiting_atOldest Waiting At
  • oldest_waiting_labelOldest Waiting Label
  • sinceSince
  • window_labelWindow Label
  • subjectSubject
  • recipientsRecipients
  • unknown_labelsUnknown Labels
  • htmlHtml
  • errorError
  • error_messageError Message
  • error_codeError Code

Output schema completeness: best_effort_declared

Safety

External effect
write
Confirmation recommended
No
Retry safe
No
Dry run supported
Yes

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "properties": {
    "since": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "subject": {
      "type": "string",
      "default": "Inbox backlog: {count} waiting — {report_day}",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "timezone": {
      "type": "string",
      "default": "America/New_York",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "cc_emails": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "threshold": {
      "type": "number",
      "default": 50,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "to_emails": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "since_days": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "without_labels": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "count_only_untagged": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "html": {},
    "error": {},
    "since": {},
    "subject": {},
    "success": {},
    "threshold": {},
    "alert_sent": {},
    "error_code": {},
    "recipients": {},
    "fresh_count": {},
    "skip_reason": {},
    "total_count": {},
    "count_capped": {},
    "window_label": {},
    "error_message": {},
    "handled_count": {},
    "compared_count": {},
    "eligible_count": {},
    "unknown_labels": {},
    "oldest_waiting_at": {},
    "oldest_waiting_label": {}
  },
  "additionalProperties": true
}
View all GMail actions