A not so straight forward approach would be to allow multiple implementations like this:
=======
ad_proc -public -callback acs_mail_lite::incoming_object_email _user {
-array:required
-object_id:required
} {
}
callback acs_mail_lite::incoming_object_email_$object_type -array email -object_id $object_id
===========
Feedback is welcome which method to choose. I don't think it requires a TIP, but please correct me if I'm wrong.
Also state if you think the idea is rubbish.