Added signalr and changes to support signalr when creating new email and when processing emails