Question
How to hold outgoing emails via API
Answer
It is possible to queue outgoing emails for an email account under the cPanel account. One way that this can be done is via an API call. For example, you can utilize the following API call:
uapi --user=domaintest Email hold_outgoing email=local_user2@domaintst.tld
uapi --user=username Email hold_outgoing email='username@example.com'