Hello,
You can copy et_send_msg_action function from theme-functions.php to your child theme and edit it according to your needs. Next time it would better to prived also link to screenshots to be sure that we talk about the same code.
Regards