I’d look for a way to save the supplier email as a meta field on their specific page. You could then use the gform_notification
filter to set the to
email. Something like the following should work once you have a way to save the meta as supplier_email
.
<?php
add_filter( 'gform_notification', function( $notification, $form, $entry ) {
$notification['to'] = get_post_meta( get_the_ID(), 'supplier_email' );
return $notification;
}, 10, 3 );