The website with the contact details is:
Kontakt - Bundesfinanzministerium - Service
I used the email address under "Postanschrift", which is:
[email protected]
There is also a phone number and if you can manage it then they may forward you to a capital gains responsible. When I tried...