The 22-year-old has been jailed after his victim's mum saw the messages he sent