Couple of questions...

1 I don’t want the icon for an applescript to show up in the dock. How can I do this?
2 I want to open Mail and check for new mail. I’ve had a look at the ‘Mail’ dictionary and I can’t figure the syntax for ‘check for new mail’.

Thanks in advance.

For all who have been searching for the answers for me, I’ve figured out how to do this:
1 tell application “Mail” to check for new mail
2 How to make an app background only:

To check for mail, try this…

tell application "Mail"
	check for new mail for account "Acct. Name"
end tell

Where Acct, Name is the account name from Mail’s preferences / accounts.