def onNewMessage(self): logger.info('You have new message(s)') send_mail("Steamgifts: new message(s)", 'You have new message(s)')
def onNewCreated(self): logger.info('Someone won your gift') send_mail("Steamgifts: Your gift has been won", 'Someone won your gift')
def onNewWon(self): logger.info('You won a gift congratulation') send_mail("Steamgifts: You win!!!!!!", 'You won a gift congratulation')