I think the term ethics and good/bad faith rather than intention is what you are probably seeking to discuss.
The landlord acted in good faith/intention to give notice with the appropriate time and manner. However failed technically.
Your friend is acting in bad faith/intention to use that...