Close window on mac

Hello,
is there a way to make EM Mail keep running when clicked on red x window button (standard mac app behaviour) instead of exiting every time?

i have the same problem i need to run in the back groundÂ