Various fixes / tweaks to the EDD_Emails class

This PR contains a number of fixes.

* Avoid fatal error if someone tries to send an email before wp_mail is available
* Avoid many warnings being thrown if someone tries to send an email before init / admin_init
* Avoid warnings due to uninitialised $attachments property