So perhaps the bug is: Sharing of logs only works after sharing of debug info done once? It may actually not be K-9-Mail related, as the changed title now suggests.
I have the same problem (Android 7.0). I must share the debug infos first, after that I can share my debug log .
I have justenabled verbose logging rebooted the device started DAVx5 shared the debug log
and it works…