Haha, I don't know about that, but I'd be happy to provide a rough template! Essentially, I wrote a few BRIEF (1-2 sentence) paragraphs that looked a little something like this:
Dear [Recipient],
Brief introduction. I wanted to reach out to you today to express my particular interest in XYZ's internal medicine residency program.
This is where I put specific details about the program. I found these on the program website or, if I knew someone at the program, I describe things they mentioned. A few of these things are sort of generic, but this is a right place to put why you love this place specifically. If you can't think of something here, don't write the LOI! For example, I may write about how their strong training in ABC field alined with my interests, how I was familiar with their researcher Dr. Jane Doe, or how much I appreciated their commitment to diversity.
If I have local ties, I put them here. Ex: I went to undergrad here, my sister lives in this city, or my significant other's family is here. I try to make it clear that I could see myself in this area long-term and that I'd like to be a part of the local community.
Finally, I thank them for taking the time to read my email and reiterate that I am very interested in their program.
Sincerely,
Gorbage