CLI tool that monitors Webex mentions and DMs, sends email summaries via Nylas
Project description
Webex Email Reminders
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) |
--minutes |
Look back period in minutes (overrides --hours) |
--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
Version Management
When releasing a new version, update the version in these files:
pyproject.toml—version = "X.Y.Z"webex_reminders.py—version="%(prog)s X.Y.Z"
Then tag and deploy:
git tag vX.Y.Z
git push origin vX.Y.Z
./deploy.sh
Deploy
./deploy.sh
Crontab
Run hourly during work hours (8am–6pm EST, Mon–Fri):
0 8-18 * * 1-5 /path/to/your/reminders.sh
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file webex_email_reminders-0.5.0.tar.gz.
File metadata
- Download URL: webex_email_reminders-0.5.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e15623200125a68f967574b68f91110f92ca538f346b1ea3dedad9e8518b16f3
|
|
| MD5 |
c7cd3e7540eb01f2c8a3bed14ce744f0
|
|
| BLAKE2b-256 |
2ae63f50ce68cdad9b21da01fbd999b3faa428797234ae9a2281ef97f8b042c2
|
File details
Details for the file webex_email_reminders-0.5.0-py3-none-any.whl.
File metadata
- Download URL: webex_email_reminders-0.5.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9533ef433a834b8a925e23e6781ed68f51bbfddc211e98466a83de6a8eb5951
|
|
| MD5 |
35bb97248382ab79ddcaab4ddb59b134
|
|
| BLAKE2b-256 |
2d0d0e518b121376e53512ef5d78583564d260530aa399c7ef37b8d662cb198b
|