How to trigger the Buzzer once the CloudBit received an email?

I’m not sure of how the CloudBit will trigger the buzzer to be activated. I made CloudBit as an input while Buzzer as as an output with Arduino.

Here is the code:
int CLOUDBIT_PIN = 0;
int BUZZER_PIN = 0;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(CLOUDBIT_PIN, INPUT);
pinMode(BUZZER_PIN, OUTPUT);

analogRead(CLOUDBIT_PIN, 0);
analogWrite(BUZZER_PIN, 0);

}

void loop() {
// put your main code here, to run repeatedly:

}

Do i need applets too?

Hi @jfliotad,
First of all, you need a IFTTT recipe.
Example : someone sends a SMS message which will trigger a buzzer.
For this, you don’t need the arduino, since the CloudBit has everything to sound the buzzer.
Have you read and tried these examples found here ?
Good luck and show off your project !