That depends on the account type and your settings. If it’s an IMAP account all messages are stored on the server. If it’s a POP3 account some messages may only exist on your device. Currently there’s no way to export them.
If it’s an IMAP account, try using Push. See How to configure Push?