Api interface for devmonk/dm-mailer