Skip to main content

CLI tool that monitors Webex mentions and DMs, sends email summaries via Nylas

Project description

Webex Email Reminders

GitHub

CLI tool that checks Webex for mentions and direct messages from the last hour and sends an email summary via Nylas.

Prerequisites

  • Python 3.9+
  • Nylas CLI: brew install nylas/nylas-cli/nylas

Setup

pip install webex-email-reminders

Or install from source:

pip install -r requirements.txt

Environment Variables

export WEBEX_JWT="your-webex-personal-access-token"
export NYLAS_API_KEY="your-nylas-api-key"
export NYLAS_GRANT_ID="your-nylas-grant-id"

Usage

# Send summary email
webex-email-reminders --to your@email.com

# Send to multiple recipients from a file
webex-email-reminders --to-list recipients.txt

# Both single and list
webex-email-reminders --to your@email.com --to-list recipients.txt

# Custom time window
webex-email-reminders --to your@email.com --hours 2

# Filter DMs by contacts file
webex-email-reminders --to your@email.com --contacts contacts.txt

# Dry run (prints email content without sending)
webex-email-reminders --to your@email.com --dry-run

# Check version
webex-email-reminders --version

Options

Flag Description
--to Email address to send summary to
--to-list Text file with email addresses to send to (one per line)
--hours Look back period in hours (default: 1)
--contacts Text file with email addresses to filter DMs
--include-all Include all messages in active spaces, not just mentions
--include-my-messages Include your own messages in DMs (excluded by default)
--dry-run Print email content to stdout without sending
--version Show version number

Local Development

python3 webex_reminders.py --to-list recipients.txt --hours 3

Contacts File (optional)

One email per line to filter which DMs to include:

person1@company.com
person2@company.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webex_email_reminders-0.4.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webex_email_reminders-0.4.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file webex_email_reminders-0.4.0.tar.gz.

File metadata

  • Download URL: webex_email_reminders-0.4.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for webex_email_reminders-0.4.0.tar.gz
Algorithm Hash digest
SHA256 906095d83a228adffe04b084e0502ebbefe28f24c27d01789b73e758d13e6d7b
MD5 7df9c99b135b88cdb21baf258e2ce746
BLAKE2b-256 e13a84256bf8f231b0d2d8f8f3b9116573883f19414a2fb422d65845d0a5cfc9

See more details on using hashes here.

File details

Details for the file webex_email_reminders-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for webex_email_reminders-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 775d1381c6f3e15a993510b22488da7c5e9320f01dfe590ee5af938be343166f
MD5 89fb70d9961ed00acb6db449d715fccf
BLAKE2b-256 bf9d3d885e1a9154d2663836d8ce92b8eb5a624a98b8e8f8abba4e82fdef08eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page