Google apps script replyAll on existing thread without replyTo : [`google-apps-script`](https://stackoverflow.com/questions/tagged/google-apps-script)


## Scenario

* Create a one script that can send a email as per user selection on google spread sheet.

[![enter image description here][1]][1]

* Subject line prefix : "Report : ", postfix : "Current Date".

* When user going to send email first time in a day must send a new email.

* If going to send second time check subject line if already exists then must be `replyAll` to that email.

## Created Script

Link : [GitHub](https://gist.github.com/Jaydeep1434/c160c2302ca09663fc5d2f298f79f035)

* This script create a menu `onOpen` "Send Mail".

* So, when user can select some area from sheet and click on "Send Mail" button it calling `funShowAlert()` and send a email.

## Issue

* If I add `replyTo` it will generate issue for `gmail`.

* If I remove `replyTo` then, how do I perform `replyAll` from script ?


> Question : anyway to perform `replyAll` without `replyTo` _OR_ I am doing something wrong with `replyTo` ?


[1]: https://i.stack.imgur.com/sYe9r.png