This class can present a gallery of pictures stored in messages of a given e-mail account of GMail.
The class can present pictures that were sent as attachments of messages sent to the GMail account.
You need to download libgmailer class from http://gmail-lite.sourceforge.net.
The image attachment file names should the format pic1.jpg and pic1_thumb.jpg, pic2.jpg and pic2_thumb.jpg, and so on. The presence of the thumbnail images is mandatory.
Since the size of the attachments per message is limited, each sub-gallery can be composed of pictures sent as attachments to multiple messages that must have the same subject.
The class can generate the HTML for each sub-gallery by specifying the respective subject of the messages that contain the pictures to be displayed.