Groupon email setting plugin to update database