feat: update email logic to subject not user +
This commit is contained in:
parent
ede986080a
commit
6a652ed4f3
5 changed files with 136 additions and 27 deletions
13
README.md
13
README.md
|
|
@ -68,6 +68,19 @@ Let me know if you have any feedback about the site!
|
|||
|
||||
The site will be available at `http://localhost:3000`.
|
||||
|
||||
## Q&A Mail Safety
|
||||
|
||||
The Q&A feature sends notification emails from `qa@...` and uses a static `Reply-To` like `qa@jetpham.com`. Replies are matched back to the right question by parsing the question number from the email subject, e.g. `123 - ...`.
|
||||
|
||||
To avoid breaking normal inbound mail when the Q&A API is down:
|
||||
|
||||
- set `services.jetpham-website.qaMailDomain = "jetpham.com";`
|
||||
- set `services.jetpham-website.qaReplyDomain = "jetpham.com";`
|
||||
- route only the exact reply address `qa@jetpham.com` into the Q&A webhook
|
||||
- keep your personal mail domain (`extremist.software`) delivering normally without depending on the Q&A webhook
|
||||
|
||||
This isolates the automation path from your main inbox. If the Q&A API fails, Q&A replies may be delayed, but personal mail should still deliver normally.
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue