Update to make this gem work again

Merge the changes @deepthawtz made and add the ability to add account email headers