Once a certain bad state is reached within the Odoo application (further explained later), API calls which trigger an automatic email will fail and result in the following stack trace:
Traceback (most recent call last):
File "/odoo/src/odoo/http.py", line 1588, in _serve_db