Introduction to development for notification mail sending with Gmail

You should probably read this from here:

Strongly consider using the standard install