Like this:

The second compose is an expression which determines if to respond or not, it looks like this:
if
(
or
(
endsWith(triggerOutputs()?['body/from'], '@gmail.com'),
endsWith(triggerOutputs()?['body/from'], '@somedomain.com'),
endsWith(triggerOutputs()?['body/from'], '@paulie.com'),
endsWith(triggerOutputs()?['body/from'], '@tachytelic.net'),
endsWith(triggerOutputs()?['body/from'], '@bbc.couk')
),
'No',
'Yes'
)