Add support for Thunderbird automatic configuration

Resolves #114