Filter out invalid emails
Alternatively, you can also add a filter just before your Gmail module to have a basic “Match Pattern” to filter out emails, using the RFC 5322 compliant regex pattern from https://stackoverflow.com/q/201323/584192
This can be used in conjunction with the error handling above for a more robust solution.
