Originally posted by Joe Ess:
java.awt.Robot can take a screen shot. You could run it in an applet. Of course, applets run under restrictions, so you'd need to digitally sign it to use Robot.
The JavaMail API can send mail to an SMTP server, so that may be another piece of your puzzle.