* Fixed send_mail callback.
* Fixed session log type.