Image copyright Getty Images/BBC Image caption The home secretary said her department's work would continue despite the furore over Sir Philip Rutnam's departure

Priti Patel has said she regrets the resignation of her former top civil servant Sir Philip Rutnam amid bullying allegations against her.

In an e-mail to Home Office staff, she thanked him for his service but said it was "now time for the Home Office to come together as one team".

She said she "deeply cared" about the "wellbeing" of her civil servants and valued their professionalism.

Sir Philip said he had been forced out of his job after a "vicious" campaign.

The prime minister has given Mrs Patel his support but the Cabinet Office is investigating whether she broke the ministerial code.

She has not commented publicly on the allegations against her, but government sources have said she denies them.

Resigning from his position on Saturday, Sir Philip said he had received allegations that Ms Patel's conduct towards employees included "swearing, belittling people, making unreasonable and repeated demands".

He said she had failed to disassociate herself from press briefings against him and he now intended to take legal action against the Home Office on the basis of constructive dismissal.

Here is an effort to show a united front at the top of the Home Office after a torrid time.

There's no direct acknowledgement of the bullying allegations levelled against Priti Patel. But with references to the importance of staff wellbeing and courtesy amongst colleagues, there is a tacit acknowledgement of the kind of controversy that has rocked the department in recent weeks.

And while the use of the word "regret", when it comes to Sir Philip Rutnam's resignation, may strike a nuanced note of contrition the email also suggests that the home secretary has little intention of leaving.

Rather, she's hoping to put the episode behind her and haul this huge department onto a new chapter.

But with Sir Philip's plan to pursue a claim of constructive dismissal and an ongoing Cabinet Office inquiry (albeit one that critics claim will be a whitewash) this saga likely isn't over. Not yet.

In the internal email to Home Office staff, Mrs Patel thanked Sir Philip for his "long and dedicated career of public service" and praised the civil service for the support they gave to ministers.

The e-mail, co-written by Sir Philip's acting successor Shona Dunn, adds: "We both regret Sir Philip's decision to resign.

"We both deeply value the work that every person in this department does and care about the wellbeing of all our staff.

"It is therefore a time for us all to come together as one team.

"We also recognise the importance of candour, confidentiality and courtesy in building trust and confidence between ministers and civil servants. Both of us are fully committed to making sure the professionalism you would expect to support this is upheld."

'Work continues'

While acknowledging the "huge amount" achieved by her department in a short period, she said it needed to continue to "drive forward" the government's priorities, including tackling violent crime and implementing the biggest changes to the UK's immigration system in a generation after Brexit.

"We have one of the most important jobs to do, keeping people safe and our country secure and delivering on the government's priorities, which were endorsed by the British people at the recent general election," she wrote.

"Our work continues, and our focus must be on working, in partnership with you, to deliver this agenda as the public would expect."

Media playback is unsupported on your device Media caption Sir Philip Rutnam's resignation statement

The Cabinet Office is leading an internal inquiry to "establish the facts" regarding Sir Philip's claims and whether they represented a breach of the ministerial code.

Labour has called for Mrs Patel to resign while the First Division Association union, which represents civil servants, has called for an "independent" inquiry into Ms Patel's behaviour to be led by an external lawyer.

It emerged on Monday that a former aide to Mrs Patel received a £25,000 payout from the government after claiming she was bullied by the then employment minister.

Legal correspondence seen by the BBC alleges the woman took an overdose of prescription medicine following the alleged incident in 2015. The DWP did not admit liability and the case did not come before a tribunal.