Tech recruiter auto reply bot using JMAP
Project description
wafflesbot: Email auto reply bot for JMAP mailboxes
wafflesbot sends form replies to unreplied emails in a JMAP mailbox (such as Fastmail).
wafflesbot excels at automatically asking tech recruiters for compensation information.
Built on:
Installation
wafflesbot is available on PyPI:
pip install wafflesbot
Usage
wafflesbot provides the waffles
command which can be run interactively or as a
cronjob.
Environment variables:
JMAP_HOST
: JMAP server hostnameJMAP_USER
: Email account usernameJMAP_PASSWORD
: Email account password (likely an app password if 2-factor authentication is enabled with your provider)
Required arguments:
-m/--mailbox
: Name of the folder to process-r/--reply-content
: Path to file with an HTML reply message
Invocation examples
Reply to messages in the "Recruiters" folder with the message in my-reply.html
:
JMAP_HOST=jmap.example.com \
JMAP_USER=ness \
JMAP_PASSWORD=pk_fire \
waffles \
--mailbox "Recruiters" \
--reply-content my-reply.html
Additional argument examples:
- Only reply to messages received within the last day:
waffles -m "Recruiters" -r my-reply.html --days 1
(or-n
)
- Send at most 2 emails before exiting:
waffles -m "Recruiters" -r my-reply.html --limit 2
(or-l
)
- Instead of sending mail, print constructed email replies to standard output:
waffles -m "Recruiters" -r my-reply.html --dry-run
(or-p
)
- Log JMAP requests and responses to the debug logger:
waffles -m "Recruiters" -r my-reply.html --debug
(or-d
)
Development
Prerequisites: Poetry
- Setup:
poetry install
- Run all tests:
poetry run poe test
- Fix linting errors:
poetry run poe lint
Created from smkent/cookie-python using cookiecutter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wafflesbot-0.1.0.tar.gz
(21.3 kB
view hashes)
Built Distribution
wafflesbot-0.1.0-py3-none-any.whl
(20.6 kB
view hashes)
Close
Hashes for wafflesbot-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 744aa966b7fbd9431477caa7734ec28c26e7b44228f2a0dc823531fd5db91e6f |
|
MD5 | 01890d376db83613f4a8d5fcf783cc71 |
|
BLAKE2b-256 | 7721a17c2a19e52046b31fe2f893e41fe291ec5b2baa533eacb5c0b8e8a4f492 |