The problem: When running evolution in an autofs mounted ~/.evolution directory on a laptop, on logout or shutdown, you will lose your wireless connection before your nfs mounted directory unmounts, causing loss of data. This is a result of evolution keeping processes alive after it exits.
A solution: Put the following script named evolution in /usr/local/bin (assuming /usr/local/bin comes before /usr/bin in $PATH):
Also, you'll want to shorten the autofs timeout, e.g., this line in /etc/auto.master:
/userdirs /etc/auto.userdirs --timeout=10