You use expressions such as if I'm not mistaken and unless I'm very much mistaken as a polite way of emphasizing the statement you are making, especially when you are confident that it is correct. [emphasis]
I think he wanted to marry her, if I am not mistaken.
Unless I'm mistaken, he didn't specify what time.