Clean up JSON parsing
Add SSL email backend