Handle pending kmails upon log-in.
Store caps in a defaultdict defaulting to False.