Email communication in office

If it was an IM communication, I would just write "Thank you". But in case of e-mail, I wouldn't. I would just say "Thank you" when I see him in the office. Face-to-face.