Clean up protocol and mail backend selection.