Not sure how your "matching the approver group name in the SMTP table", because we code our SMTP table with individual IDs and matching email addresses. If all you have is the Approver group name, you can code an API to read the approver group and pull the ID from there.