The API provides methods to use your Mailgun account to:
validate an email address - does the same thing as the jQuery-based APEX plugin, except from the server
send an email
NOTE: another alternative (one that also works with Oracle APEX's builtin email system) is to use the mailgun SMTP interface instead.
query your mailgun usage and failure statistics and events log
manage your mailgun bounces, unsubscribes and complaints lists
For installation instructions, detailed API references and example code, refer to the WIKI.
Related blog post