Answer
api.sendEmail()
can be called only from Calculation Flow or Calculated Field Set or from a Logic started by formulamanager.execute
backend call e.g., from outside.
api.sendEmail()
can be called only from Calculation Flow or Calculated Field Set or from a Logic started by formulamanager.execute
backend call e.g., from outside.