How to conditionally send emails Drupal 8 Webform I am trying to figure out how to do the following; based on a submitted value change the email behavior:


If (field 'send' value == no) then don't send the email
If (field 'member' value == yes) then change the email message


If I can find out how to do #1 above I could use that to achieve #2, in fact I suspect they have the same answer. I am looking for a hook but perhaps that is just me being stuck in D7 style of doing things.
The latest dev release of Webform 8.x-5.x supports conditional emails and handlers.