add mail session support