Mail API plug-in