Make your app modular.
RFC5849 complaint OAuth toolkit
Send email on bunyan log record
A framework connects the worlds