No it’s not rude, it’s called boundaries and you are aloudallowed to have them. Simply because you are online and doing something else does not entitle anyone else to your response. There’s some nuance to this though, depending on your relationship to the person emailing, but boundaries can and should be established.