deltachat / mailadm

mail account administration tool for temporary and other account creation/modification
https://mailadm.readthedocs.io/
Mozilla Public License 2.0
14 stars 1 forks source link

Warn expiring users #56

Closed missytake closed 1 year ago

missytake commented 1 year ago

closes #21

the idea is to warn users a certain timespan before their accounts run out:

right now, the expiration warnings are triggered by the prune loop; this is a bit unfortunate as it means that we have to initialize another deltachat.account object for the mailadm bot, and can't reuse the bot object. Maybe that's fine, it just complicates the handling a bit.

I tried it out manually, works so far. There are 2 tests, one of them could be more minimal I guess.

Does the database migration need a test?

missytake commented 1 year ago

Screenshot_2022-10-01_20-20-41

That's how it looks so far - it would be reeeeally nice to have this in a legit "provider chat" in the future <3

There is https://github.com/deltachat/mailadm/pull/57 to make this a bit nicer already :)

missytake commented 1 year ago

We called and decided that we will not support the use case of running mailadm without a bot; the prune thread will only be started as soon as we have a working bot account object.

missytake commented 1 year ago

This needs to be done again, but it only makes sense after we decided on #78.