Create mail.py

look my post here:

http://www.cuckoocommunity.com/forum/showthread.php?tid=27