Custom mail check interval in Mail App on OS X?
You could use the following command in Terminal (or add it to a shell script).

defaults write com.apple.mail PollTime 240

Where 240 is the time in minutes (i.e. 4 hours).