Inbox backup android[
^]
This simple google search has 3,520,000 results. I would suggest that you go through these results to research your solution. Your question indicates that you have not made much effort, which is why I provide you with the search results, but I couldn't be bothered to filter them for you. That is where your effort comes in.