We help IT Professionals succeed at work.

Can Google App Engine Delete and Create Email Folders in Gmail?

Leonard Gojer
on
Hello, I just installed Python on my system, and I am starting to work with Google App Engine.
I know how to program in other languages, such as C#, but not so much in Python. I am hoping
that I can do the following: Delete and Create Email Folders in Gmail from the Google App Engine.

The reason that I want to do that is because I have a lot of email folders in GMail with links to
business products that I a want to keep the links to but I want to organize it better and make
more space.

The way that I want to accomplish this task is to write a script that has a list of the folders typed into an ASCII word processing file and operates on the list with instructions that will
be run in an automated fashion.
Comment
Watch Question

David Johnson, CDSimple Geek from the '70s
GOLD EXPERT
Distinguished Expert 2019

Commented:
gmail doesn't have folders per se they have labels. you will have to set a filter to assign the label.
Leonard GojerCAD Technician/Programmer

Author

Commented:
Can you show me where the documentation is to that type of use of the instructions in Google App Engine? ...including the names of the actual instructions?
David Johnson, CDSimple Geek from the '70s
GOLD EXPERT
Distinguished Expert 2019

Commented:
Hello, I just installed Python on my system, and I am starting to work with Google App Engine.
I know how to program in other languages, such as C#, but not so much in Python. I am hoping
that I can do the following: Delete and Create Email Folders in Gmail from the Google App Engine.

Google App Engine lets you run web applications on Google's infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow. With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users.


This means you can retrieve mail/send mail at the current usage rates.  you make your own pseudo mail client and run it from your web server or the google app store


The reason that I want to do that is because I have a lot of email folders in GMail with links to business products that I a want to keep the links to but I want to organize it better and make more space.

The only way to make more space is to delete stuff or pay for additional storage.

The way that I want to accomplish this task is to write a script that has a list of the folders typed into an ASCII word processing file and operates on the list with instructions that will be run in an automated fashion.


you need something like auto-it to record the keystrokes needed to create a filter and then use this to enter the data you want from your text file.
Leonard GojerCAD Technician/Programmer

Author

Commented:
I went to the website of Autoit and briefly looked at it, and I am confused. Why do I need to have both
Autoit AND Google App Engine at the same time? I don't want to install more on my machine than I absolutely have to. If Google App Engine is capable of doing the entire task the way that I have described it, then I need to pursue how to write this code in Google App Engine, so that means that I need to find the instructions for working with email labels in GMail in the Google App Engine documentation. Can you give me some clues how I would find this page in the .html documentation of Google App Engine, so that I can continue with the original thread of this idea?
Simple Geek from the '70s
GOLD EXPERT
Distinguished Expert 2019
Commented:
Leonard GojerCAD Technician/Programmer

Author

Commented:
Thank you very much for that link! That was very very helpful.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.