bugfixes; email parsing; send emails into matrix rooms; e2e tests

This commit is contained in:
Aine
2022-08-22 12:28:29 +03:00
parent c746c91dbb
commit e6d5e81efe
16 changed files with 428 additions and 24 deletions

View File

@@ -4,11 +4,13 @@ An Email to Matrix bridge
## Features / Roadmap / TODO
- [ ] **BUG**: no auto invites
- [x] SMTP server
- [ ] SMTP client
- [x] Matrix bot
- [x] Configuration in room's account data
- [ ] Receive emails to matrix rooms
- [x] Receive emails to matrix rooms
- [ ] Receive attachments
- [ ] Map email threads to matrix threads
- [ ] Reply to matrix thread sends reply into email thread
- [ ] Send a message to matrix room with special format to send a new email
@@ -34,3 +36,14 @@ env vars
* **POSTMOOGLE_DB_DIALECT** - database dialect (postgres, sqlite3)
You can find default values in [config/defaults.go](config/defaults.go)
## Development
### Prerequisites
* [ssmtp](https://wiki.archlinux.org/title/SSMTP)
* configured mailbox `test@localhost`
### Testing
Run `send` script of the `e2e` dir with example emails