Drone

Drone User&EAMIL as environment variable

Hi,
There is situation where the commit author is userX but who push the branch is UserY , and I use the variable DRONE_COMMIT_AUTHOR_EMAIL to send notification and there is situtaion is not accurate.

I found on the payload section:
“head_commit”: {


“distinct”: true,
“message”: “add prometheus to services mapper”,
“timestamp”: “2019-10-02T13:45:02+03:00”,
“author”: {
“name”: “YYYYY YYY”,
“email”: "YYYYY@YYYY.com",
“username”: “YYYY”
},

},
“pusher”: {
“name”: “XXXX”,
“email”: "XXXXX@XXXX.com"
},