Remove email from ALL wordpress emails

//test to remove my email from ALL outgoing emails
add_filter( "wp_mail", "remove_my_email" );

function remove_my_email( $mail_info ){
//remove from array
if( is_array( $mail_info["to"] ) ){
unset( $mail_info["to"][ array_search( "[email protected]", $mail_info["to"] ) ] );
}
//remove from string
else{
$mail_info["to"] = str_replace( "[email protected]", "", $mail_info["to"] );
}
return $mail_info;
}

Add page specific javascript from plugin

//add jquery plugins for specific page
add_action( "template_redirect", "check_to_enqueue_scripts" ) );

//function to check if propose-trade page then enqueue scripts
function check_to_enqueue_scripts(){
if( is_page( 338 ) ){
add_action('wp_enqueue_scripts', "enqueue_plugin_scripts" );
}
}
//function to enqueue my page specific scripts
function enqueue_plugin_scripts(){
wp_enqueue_script('my-page-specific-script');
wp_enqueue_script('jquery-ui-droppable');
wp_enqueue_script('jquery-ui-sortable');

}