AH!
So I have fixed it for now following this advice:
cd /home/user-data/mail
sudo sqlite3 users.sqlite ‘PRAGMA journal_mode=delete;’;
from this thread:
So I am back in action and I also now know how it happened.
One of my users asked me the day before “I tried to change my password but it failed” and I think that was when mail sending stopped working.