Maybe this is better.
Мне нужно написать письмо моему брату.

Sorry for the edits. I think this is the right way.