Extract email address from gmail message body is on topic both on SO and on Web Applications but it has more chances to reach knowlable people on SO as the core of the question is related to programming rather than to knowledge about using the related web applications.
The question includes a link to a post on Web Applications but also the code and what the OP tried. On SO the question includes the following tags
javascript email google-spreadsheet spreadsheet google-spreadsheet-api
One important tag that is missing is google-apps-script; other missing tags are gmail and perhaps regex.
email, spreadsheet and google-spreadsheet-api could be removed to make room for the missing tags.
While the OP asked to move the question to Web Applications, IMHO it should not be moved just for that reason and neither because the original code was taken from that site.