Question: is madam a proper noun?
Answer: Sir and madam are capitalized: when beginning a letter/email. as an honorific coming before a name.