I think in this case, an email would be fine. You tried to talk to him in person and he left while you were talking......extreme ly rude and disrespectful!

I would mention in the email how you tried to give notice in person.