How to correctly parse gmail?

Hello. Interested in this moment, whether it is possible to obtain specific information from gmail? For example, only information about the booked rooms in the hotel and this information was always available in the same format.
July 9th 19 at 13:36
2 answers
July 9th 19 at 13:38
In gmail you can set up filters and tags(labels) on the client uses imap to retrieve only messages with a particular label.
Parsite your own text using any available programming language, almost any language has a library to work with imap and parsing anything.
Additional info for working with imap and gmail:
July 9th 19 at 13:40
Using Google App Script to create a script and results to put in googledocs sign or pass on a particular site.

Find more questions by tags E-mailGoogleGmailParsingAPI