mail to md format