Either eM Client is moving them there because you blacklisted the gmail domain, or your server is doing it.
Go to Menu > Settings > Mail > Blacklist and edit the list. Find the gmail.com domain and remove it. Then if the messages are still going to Junk, it will be the server, or even another app connecting to the same account, that is doing it.