i am developing a zimlet once an email is dragged into it, whole the email body, address is taken and stored into a mysql database.

My problem is im very new into this Zimbra Zimlet world, and i need to get this done as soon as possible. i already got the zimlet to get all the information i need from the email, but i still can't figure how i should make it connect into the database and transfer data into it (MySql Database)