Simple send mail window added.

Session provider refactored.