Default email message text class
Custom Request factory, that adds the user context to request.
http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/authentication.html
Defines the default ACLs, groups populated from SQLAlchemy.
Sends email message
Gets an apex setting if the key is set. If no key it set, returns all the apex settings.
Some settings have issue with a Nonetype value error, you can set the default to fix this issue.
from apex.lib.libapex import create_user
create_user(username='test', password='my_password', active='Y', group='group')
Returns: AuthUser object