Hey there ,
I`ve got pretty nice experience with google app script ,
I can extent gmail app as well as drive app to do the job you are asking ..
it would be great we can work on this project ,
i`m online right now to talk further if you have any questions .
Looking forward
Steve