Do a search on the Congregational Library and Archives Hidden Histories project. This is about early Congregational Church Records online. It’s an ongoing project. You can see a list of mostly Massachusettes towns that are being worked on. It does have a listing for Sanford, Maine since we were part of Massachusettes.