Add email removal from queue. Add JSON responses.