Linked Questions

Popular Questions

I am kind of new to Google Apps Scripts and wonder about the correct syntax to get the following data structure back from the message.getFrom() field:

"@domain email-address name"

as a bonus the same from the message.getTo(). I know that the To field can contain more recipients, so I would like to have only the first one parsed. Also in the format

"@domain email-address name"

Thanks in advance!

Related Questions