If you are writing to someone who has a doctorate or medical degree, use the abbreviated form: "Dr." However, for other titles, such as professor, judge, rabbi, etc., write out the full title and capitalize it. For example, your salutation in a letter to a judge would be, "Dear Judge Barnard." Or, if your correspondence was with a rabbi, you might write, "Dear Rabbi Williams."
You can also include links to online portfolios, if appropriate, or a link to your professional social media account such as LinkedIn or Twitter. You don't want to make this section too cluttered, however, so restrict yourself to the most relevant information. Here's how to set up an email signature, along with more advice on what to include in it and what to leave off.