You can address the thank you letter to the church community as a whole or to a specific individual or group within the church, depending on your relationship with them. If you have a close connection with a particular pastor, leader, or group within the church, it may be meaningful to address them directly. Otherwise, a general address to the church community is also appropriate.