fix for using with TMail