[FIX] tools mail: return the initial variable if is false or if is not an instance of basestring. remove xml and doctype tags.
[FIX] tools mail: return the initial variable if is false or if is not an instance of basestring. remove xml and doctype tags.

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server