add retry delay
I have no clue what I'm doing. It would be hilarious if this is correct and works.
I searched this: https://github.com/search?q=repo%3Aknadh%2Flistmonk%20max_msg_retries&type=code
And then duplicated it for "retry delay".
I got the email.go code from chat gpt.
Hopefully this closes https://github.com/knadh/listmonk/issues/2272. I plan to set the delay to 60s+.
This is almost correct, but there are syntax errors in the Go code in internal/messenger/email/email.go. I'll pick this up and fix in the coming weeks. The PR does save time, thanks!
I asked Github Copilot and got a very different answer: https://github.com/copilot/share/02305230-4364-8806-b053-2c022449200c
Knadh, any ETA on this?