Another way to say "a letter is for communicating" is "Communication is a purpose of a letter."