NabMyGmail | Makes your Nabaztag read your mail

PHP script that uses Gmail RSS to get the last messages contents and send a custom message such as:
You received 2 new messages. Bob says Hello. Terry says Did you pay the last telephone bill.

The script is short enough to be adapted by anyone with some little php skills.

Released under GPL.
Author: Pierre-Mikael Legris (Perki)

This Form is made to test the nabMyGmail.php script.
Be sure you have new unread messages on you gmail account..
Privacy: I do not keep any log of this form.
The message will be sent in french.

Warning: Cannot modify header information - headers already sent by (output started at /home/perki/public_html/NabMyGmail/index.php:11) in /home/perki/public_html/NabMyGmail/index.php on line 31
GMail Username:
GMail Password
NABAZTAG Token
NABAZTAG Serial
Last timestamp*
*Last timestamp
Is a unix timestamp, new messages received before this date will be ignored, with 0 you will get all the messages marked as new in gmail.
After validating the form you will get the timestamp of the last message. You should use it to be sure that a message in never announced twice.