Yes, it's pretty easy. Create an event module:
and have it check for q_post, a_post, and c_post, then have it call the function:
qa_send_notification($userid, $email, $handle, $subject, $body, $subs);
where $subs is an associative array that substitutes keys for values in $body, e.g.:
$subs = array(
Or, you can also just create a custom $body on the fly. See the badges plugin for an example.