I have same problem - using built in email app and Swift-key.
Using another email app seems to get around the problem, I'm using Outlook and so far so good.
Very annoying problem that I've been dealing with for a long time too!
Sort your email application out Samsung / android, it really...