Added some log
Fixed registering and unreistering new email receiver.