Samsung has Doze Mode which comes from Android (6.0+) - Aqua Mail settings -> mail, receiving will have a green panel / prompt for it, if not already handled.
But Samsung devices have *another* battery saver, unrelated to Doze Mode but which can also cause trouble. This is in Phone Settings under Battery (I think).