If you mark a message as junk by mistake, then you can find it in the spam folder and move it back from there to your inbox by marking it as Not spam. For more information, visit the relevant support page on Google’s website.