✉️ ⚒️ A JMAP client library for Python. https://jmap.io
GPL-3.0 License
Currently implemented:
Core/echo
Email/changes
Email/copy
Email/get
Email/query
Email/queryChanges
Email/set
EmailSubmission/*
(get
, changes
, query
, queryChanges
, set
)Identity/*
(get
, changes
, set
)Mailbox/*
(get
, changes
, query
, queryChanges
, set
)SearchSnippet/*
(get
)Thread/*
(get
, changes
)CustomMethod
classpip install jmapc
Any of the included examples can be invoked with poetry run
:
JMAP_HOST=jmap.example.com \
JMAP_API_TOKEN=ness__pk_fire \
poetry run examples/identity_get.py
If successful, examples/identity_get.py
should output something like:
Identity 12345 is for Ness at [email protected]
Identity 67890 is for Ness at [email protected]
Via pipx
:
pip install pipx
pipx install poetry
pipx inject poetry poetry-dynamic-versioning poetry-pre-commit-plugin
Via pip
:
pip install poetry
poetry self add poetry-dynamic-versioning poetry-pre-commit-plugin
poetry install
poetry run poe lint
orpoetry run pre-commit run --all-files
poetry run poe test
Created from smkent/cookie-python using cookiecutter