update email dependencies
bugfixes to certificates