the clean lib matched senders by From only; the original imap_tool.py matched primarily by TO (the per-user alias the code was sent to) with a HEADER FROM forwarded fallback. added match_field="from"|"to" to retrieve_otp: "from" (default) is byte-identical to current behavior, "to" searches TO primary and accepts a forwarded From match, restoring the alias flow. server query + client-side predicate both honor it. bump to v0.1.2. Signed-off-by: disqualifier <dev@disqualifier.me>
20 lines
434 B
TOML
20 lines
434 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aiomail"
|
|
version = "0.1.2"
|
|
description = "async IMAP one-time-code retrieval with password/OAuth2 auth and dynamic matching"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aioimaplib>=1.0",
|
|
"beautifulsoup4>=4.11",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
oauth = ["aiohttp>=3.9"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aiomail"]
|