You will not lose them. Gifts and requests from your friends will always remain in your mailbox for 48 hours regardless of whether you close the game or the mailbox.