Royal Mail remains based in UK in deal to bolster key services