back view typesetting code
finished typesetting code, not fully tested, beginning emailing code
basic error handling for email failure and pdf creation failure
waiting to test email on an actual device.