If there are only BCC addresses in an email; Gmail set the TO field to Undisclosed recipients:;
in this case, we try to make a customer account for this but will get an error cause of the invalid address.
Check for a valid email format when parsing the recipients.
On latest released Jira:
Send email with only bcc from google -> no error