Kontact/kmail Open delay on boot

Is there a way to delay the start of I think kontact but, it may be Akonadi. So on login it takes a moment for proton bridge to launch. After about 2 - 3 sec you can hit “try again” and all is well.

You get this error on login.

I used to have to set thunderbird to a delay a ways back. But I don’t think setting a delay script for kontact will work for this error.

I used to do something like,

#!/usr/bin/fish
# Delay 
sleep 15
# Start 
/usr/bin/thunderbird

Added to the autostart.

Now I’m on nix so it will take a bit more text then that.