How do I produce a letter for each donor in the previous year that lists their tax-deductible contributions for that year?

This article describes the process in detail.