We have a requirement to email the Actor of a Workflow Task when a Task has been assigned to them (note: ALL assignments will be push not pull).
As a result I'm currently writing a custom AssignmentHandler which will extend the XIAssignmentHandler and perform the necessary emailing to the Actor upon a successful assignment.
Now rather than writing ODBC lookups to retrieve the email address of the Actor, and then creating a Java email to send, I wanted (in an ideal world) to use the existing resources within ebase. For example, retrieve the email address from my Users DB resource and send the email using the relevant Email Resource.
Is this possible, i.e. using RuntimeEmailSource or something similar, or am I dreaming

Thanks,
Aron