I am using this great script -> https://github.com/ahochsteger/gmail2gdrive/blob/master/Code.gs & https://github.com/ahochsteger/gmail2gdrive/blob/master/Config.gs