Braverman stepped down a day before former prime minister Liz Truss did after breaching email security rules.