Thunderbird extension : accessing filesystem and security policies