Unfortunately, the From field does not support an if/else block currently. You can reference any of the common variables listed in the docs, but the format is expected to be an email address (‘firstname.lastname@example.org’) or an email address with a prefix (‘Your App email@example.com’).
It’d be great to get more information about your use case in a feature request in a feedback topic for our product team and the community to review:
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.