Adele was offered a recording contract from XL Recordings after a friend posted her demo on Myspace in 2006.