When processing tons of pending emails I like to put Mail (OS X Lion) in offline mode so that I do not receive more emails and therefore distraction.
The problem is that I am not able to send email in this mode, or is it possible somehow?
If you don't want to receive mails automatically, simply go to Mail's preferences and disable automatic downloads.
Set Check for new messages to Manually and hit the envelope symbol in the toolbar (or press ⇧⌘N) to fetch new mail.
If you want to switch this mode globally, you can create a new Automator service that runs the following shell script (drag Run Shell Script from the left to the right pane):
The service should look something like this:
Of course you can change the