incomming mail processing

This commit is contained in:
Olaf
2026-09-30 11:53:12 +02:00
parent b89d12769c
commit 0055cc197e
14 changed files with 656 additions and 1 deletions
+16
View File
@@ -1527,6 +1527,14 @@ In the mastodon post change the line: From:< URL>
to
Logged on <date> from: <url>
### User
I want to add functionality: a user should be able to send an email from the address associated with their account. When the email contains a link then that link will be stored in the LinkLog for that user. Also parse a potential comment and included tags.
The backend should be polling an IMAP account
### Assistant outcome
Added inbound email ingestion backed by IMAP polling. LinkLog now matches the sender against the user's verified primary or additional email addresses, extracts the first link plus comment and hashtags from the message, stores the link, and records processed message UIDs to avoid duplicates. Added encrypted IMAP settings storage, administrator IMAP configuration endpoints, startup polling integration, and regression coverage for parsing, sender matching, polling, and configuration checks.
Where date format is like: 2026 August 29 - 21:10
### Assistant outcome
@@ -1629,3 +1637,11 @@ Add these findings and recomendations to Privacy.md
### Assistant outcome
Created `Privacy.md` with a source-grounded privacy and fingerprinting assessment covering public activity correlation, URL and query-parameter leakage, Firefox extension website activity, Mastodon correlation, server-side URL fetching, deployment fingerprinting, authentication observability, user guidance, and prioritized mitigations. Validated the document contents; no runtime code was changed.
### User
I want to add functionality: a user should be able to send an email from the address associated with their account. When the email contains a link then that link will be stored in the LinkLog for that user. Also parse a potential comment and included tags.
The backend should be polling an IMAP account
### Assistant outcome
Added inbound email ingestion backed by IMAP polling. LinkLog now matches the sender against the user's verified primary or additional email addresses, extracts the first link plus comment and hashtags from the message, stores the link, and records processed message UIDs to avoid duplicates. Added encrypted IMAP settings storage, administrator IMAP configuration endpoints, startup polling integration, and regression coverage for parsing, sender matching, polling, and configuration checks.