Sure, In the IVR, make option one a custom dialplan linked to the IVR, using the custom destination application. The custom destination (dialplan) should trigger the email, then complete the next phase of the call treatment for the caller. Another option would be to trigger the email as part of the hangup.