Add necessary dependencies and made key config persistent

Hi,

i improved you package by adding a persistent config  (where the key is also used for the sendTemplate function).

I also add the necessary dependencies to the package (http, email)

Please merge and publish this new version to atmosphere :)
Otherwise i will do that (but would prefer not to pollute atmosphere with to many of the same packages.)