I use Automate[1] to do this. Just draw an infinite loop that does sms_received[2] and email_send[3].
[1] https://play.google.com/store/apps/details?id=com.llamalab.a...
[2] https://llamalab.com/automate/doc/block/sms_received.html
[1] https://play.google.com/store/apps/details?id=com.llamalab.a...
[2] https://llamalab.com/automate/doc/block/sms_received.html