show notifications of new e-mails without displaying the content

Solution 1:

Go to Settings → Notifications → app name (e.g. Gmail) → Show Previews and change the setting from ‘Always’ to ‘When Unlocked’.