Email? Text? Were you in the app or acting on the notification shade?
If in the app itself, if you go into the settings for the app in question you might actually see a setting for that particular swipe action. Some are set to archive on left swipe, some are set to delete.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See
this link for instructions on how to join Android Central.