Suella Braverman has resigned as home secretary, criticising prime minister Liz Truss while explaining why she has gone.

The popular figure among the Tory right told Ms Truss she had made a “technical infringement” of the rules by sending an official document from a personal email and was now taking responsibility.

This is her letter in full:

Dear Prime Minister,

It is with the greatest regret that I am choosing to tender my resignation.

Earlier today, I sent an official document from my personal email to a trusted parliamentary colleague as part of policy engagement, and with the aim of garnering support for government policy on migration. This constitutes a technical infringement of the rules.

As you know, the document was a draft Written Ministerial Statement about migration, due for publication imminently. Much of it had already been briefed to MPs. Nevertheless it is right for me to go.

As soon as I realised my mistake, I rapidly reported this on official channels, and informed the cabinet secretary, As home secretary I hold myself to the highest standards and my resignation is the right thing to do. The business of government relies upon people accepting responsibility for their mistakes.

Pretending we haven’t made mistakes, carrying on as if everyone can’t see that we have made them, and hoping that things will magically come right is not serious politics. I have made a mistake; I accept responsibility; I resign.

It is obvious to everyone that we are going through a tumultuous time. I have concerns about the direction of this government.

Not only have we broken key pledges that were promised to our voters, but I have had serious concerns about this government’s commitment to honouring manifesto commitments, such as reducing overall migration numbers and stopping illegal migration, particularly the dangerous small boats crossings.

It has been a great honour to serve at the Home Office. In even the brief time that I have been here, it has been very clear that there is much to do, in terms of delivering on the priorities of the British people.

They deserve policing they can respect, an immigration policy they want and voted for in such unambiguous numbers at the last election, and laws which serve the public good, and not the interests of selfish protestors.

I am very grateful to all of my officials, special advisers and ministerial team for all of their help during my time as Home Secretary, I especially would like to pay tribute to the heroic policemen and women and all those who work at Border Force and in our security services.

To oversee Operation Bridges – the largest policing operation in a generation – was a great honour and I am grateful to have had the opportunity to serve.

I wish my successor good luck.

Yours sincerely,

Rt Hon Suella Braverman KC MP

The prime minister’s response:

Dear Suella,

Thank you for your letter. I accept your resignation and respect the decision you have made. It is important that the Ministerial Code is upheld, and that Cabinet confidentiality is respected.

I am grateful for your service as Home Secretary. Your time in office has been marked by your steadfast commitment to keeping the British people safe. You oversaw the largest ever ceremonial policing operation, when thousands of officers were deployed from forces across the United Kingdom to ensure the safety of the Royal Family and all those who gathered in mourning for Her Late Majesty The Queen.

I am also grateful for your previous work as Attorney General, my Cabinet colleague and in particular your work on the Northern Ireland Protocol Bill.

I look forward to working with you in the future and wish you all the best.

Best wishes,

(Signed by Liz Truss)