Isn't on Registrants Management screen, we already have a button in the toolbar to allow sending certificates to selected registrants ? So check on the checkbox next to the registration records you want to send certificates, and press Send Certificates button in the toolbar to have certificate sent to selected registrants
Will that work for your need? Or you want something different?
Regards,
Tuan