Update sendInvitationEmail() to use new Survey table