msmtp has XDG support (https://github.com/marlam/msmtp/commit/af2f409). Is there another reason for creating this file?