it should be possible to suspend an email account, without deleting it
Currently, it's possible to suspend outgoing emails. Isn't that sufficient? By suspending an email account any incoming emails should be delivered or rejected?
All emails received must be delivered.
So, this feature is already available in the SPanel User Interface -> Email accounts-> Actions -> Manage Outgoing Email. You can just disable it and the mailbox will not be able to send emails.
I just had a client ask for this also. Not just outgoing, but also incoming email.
Replicate cPanel's restrictions would cover any use case:https://docs.cpanel.net/cpanel/email/manage-email-accounts/#restrictions
Replies have been locked on this page!